dchelimsky-rspec 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +1192 -0
- data/License.txt +22 -0
- data/Manifest.txt +403 -0
- data/README.txt +39 -0
- data/Rakefile +90 -0
- data/TODO.txt +10 -0
- data/bin/autospec +4 -0
- data/bin/spec +4 -0
- data/examples/pure/autogenerated_docstrings_example.rb +19 -0
- data/examples/pure/before_and_after_example.rb +40 -0
- data/examples/pure/behave_as_example.rb +45 -0
- data/examples/pure/custom_expectation_matchers.rb +54 -0
- data/examples/pure/custom_formatter.rb +12 -0
- data/examples/pure/dynamic_spec.rb +9 -0
- data/examples/pure/file_accessor.rb +19 -0
- data/examples/pure/file_accessor_spec.rb +38 -0
- data/examples/pure/greeter_spec.rb +31 -0
- data/examples/pure/helper_method_example.rb +14 -0
- data/examples/pure/io_processor.rb +8 -0
- data/examples/pure/io_processor_spec.rb +21 -0
- data/examples/pure/legacy_spec.rb +11 -0
- data/examples/pure/mocking_example.rb +27 -0
- data/examples/pure/multi_threaded_behaviour_runner.rb +28 -0
- data/examples/pure/nested_classes_example.rb +36 -0
- data/examples/pure/partial_mock_example.rb +29 -0
- data/examples/pure/pending_example.rb +20 -0
- data/examples/pure/predicate_example.rb +27 -0
- data/examples/pure/priority.txt +1 -0
- data/examples/pure/shared_example_group_example.rb +81 -0
- data/examples/pure/shared_stack_examples.rb +38 -0
- data/examples/pure/spec_helper.rb +3 -0
- data/examples/pure/stack.rb +36 -0
- data/examples/pure/stack_spec.rb +63 -0
- data/examples/pure/stack_spec_with_nested_example_groups.rb +67 -0
- data/examples/pure/stubbing_example.rb +69 -0
- data/examples/pure/yielding_example.rb +33 -0
- data/examples/stories/adder.rb +13 -0
- data/examples/stories/addition +34 -0
- data/examples/stories/addition.rb +9 -0
- data/examples/stories/calculator.rb +65 -0
- data/examples/stories/game-of-life/.loadpath +5 -0
- data/examples/stories/game-of-life/README.txt +21 -0
- data/examples/stories/game-of-life/behaviour/everything.rb +6 -0
- data/examples/stories/game-of-life/behaviour/examples/examples.rb +3 -0
- data/examples/stories/game-of-life/behaviour/examples/game_behaviour.rb +35 -0
- data/examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb +66 -0
- data/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story +21 -0
- data/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +21 -0
- data/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story +42 -0
- data/examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story +42 -0
- data/examples/stories/game-of-life/behaviour/stories/ICanKillACell.story +17 -0
- data/examples/stories/game-of-life/behaviour/stories/TheGridWraps.story +53 -0
- data/examples/stories/game-of-life/behaviour/stories/create_a_cell.rb +52 -0
- data/examples/stories/game-of-life/behaviour/stories/helper.rb +6 -0
- data/examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb +26 -0
- data/examples/stories/game-of-life/behaviour/stories/steps.rb +5 -0
- data/examples/stories/game-of-life/behaviour/stories/stories.rb +3 -0
- data/examples/stories/game-of-life/behaviour/stories/stories.txt +22 -0
- data/examples/stories/game-of-life/life/game.rb +23 -0
- data/examples/stories/game-of-life/life/grid.rb +43 -0
- data/examples/stories/game-of-life/life.rb +3 -0
- data/examples/stories/helper.rb +9 -0
- data/examples/stories/steps/addition_steps.rb +18 -0
- data/failing_examples/README.txt +7 -0
- data/failing_examples/diffing_spec.rb +36 -0
- data/failing_examples/failing_autogenerated_docstrings_example.rb +19 -0
- data/failing_examples/failure_in_setup.rb +10 -0
- data/failing_examples/failure_in_teardown.rb +10 -0
- data/failing_examples/mocking_example.rb +40 -0
- data/failing_examples/mocking_with_flexmock.rb +26 -0
- data/failing_examples/mocking_with_mocha.rb +25 -0
- data/failing_examples/mocking_with_rr.rb +27 -0
- data/failing_examples/partial_mock_example.rb +20 -0
- data/failing_examples/predicate_example.rb +29 -0
- data/failing_examples/raising_example.rb +47 -0
- data/failing_examples/spec_helper.rb +3 -0
- data/failing_examples/syntax_error_example.rb +7 -0
- data/failing_examples/team_spec.rb +44 -0
- data/failing_examples/timeout_behaviour.rb +7 -0
- data/init.rb +9 -0
- data/lib/autotest/discover.rb +3 -0
- data/lib/autotest/rspec.rb +46 -0
- data/lib/spec/adapters/ruby_engine/mri.rb +8 -0
- data/lib/spec/adapters/ruby_engine/rubinius.rb +8 -0
- data/lib/spec/adapters/ruby_engine.rb +26 -0
- data/lib/spec/adapters.rb +1 -0
- data/lib/spec/example/before_and_after_hooks.rb +93 -0
- data/lib/spec/example/configuration.rb +167 -0
- data/lib/spec/example/errors.rb +30 -0
- data/lib/spec/example/example_group.rb +25 -0
- data/lib/spec/example/example_group_factory.rb +81 -0
- data/lib/spec/example/example_group_methods.rb +368 -0
- data/lib/spec/example/example_matcher.rb +44 -0
- data/lib/spec/example/example_methods.rb +105 -0
- data/lib/spec/example/module_reopening_fix.rb +21 -0
- data/lib/spec/example/pending.rb +18 -0
- data/lib/spec/example/shared_example_group.rb +52 -0
- data/lib/spec/example.rb +12 -0
- data/lib/spec/expectations/differs/default.rb +66 -0
- data/lib/spec/expectations/errors.rb +12 -0
- data/lib/spec/expectations/extensions/object.rb +63 -0
- data/lib/spec/expectations/extensions/string_and_symbol.rb +17 -0
- data/lib/spec/expectations/extensions.rb +2 -0
- data/lib/spec/expectations/handler.rb +52 -0
- data/lib/spec/expectations.rb +56 -0
- data/lib/spec/extensions/class.rb +24 -0
- data/lib/spec/extensions/main.rb +87 -0
- data/lib/spec/extensions/metaclass.rb +7 -0
- data/lib/spec/extensions/object.rb +6 -0
- data/lib/spec/extensions.rb +4 -0
- data/lib/spec/interop/test/unit/autorunner.rb +6 -0
- data/lib/spec/interop/test/unit/testcase.rb +71 -0
- data/lib/spec/interop/test/unit/testresult.rb +6 -0
- data/lib/spec/interop/test/unit/testsuite_adapter.rb +34 -0
- data/lib/spec/interop/test/unit/ui/console/testrunner.rb +61 -0
- data/lib/spec/interop/test.rb +12 -0
- data/lib/spec/matchers/be.rb +221 -0
- data/lib/spec/matchers/be_close.rb +37 -0
- data/lib/spec/matchers/change.rb +148 -0
- data/lib/spec/matchers/eql.rb +43 -0
- data/lib/spec/matchers/equal.rb +43 -0
- data/lib/spec/matchers/exist.rb +22 -0
- data/lib/spec/matchers/has.rb +34 -0
- data/lib/spec/matchers/have.rb +150 -0
- data/lib/spec/matchers/include.rb +77 -0
- data/lib/spec/matchers/match.rb +41 -0
- data/lib/spec/matchers/operator_matcher.rb +79 -0
- data/lib/spec/matchers/raise_error.rb +132 -0
- data/lib/spec/matchers/respond_to.rb +46 -0
- data/lib/spec/matchers/satisfy.rb +47 -0
- data/lib/spec/matchers/simple_matcher.rb +132 -0
- data/lib/spec/matchers/throw_symbol.rb +74 -0
- data/lib/spec/matchers.rb +162 -0
- data/lib/spec/mocks/argument_constraints.rb +165 -0
- data/lib/spec/mocks/argument_expectation.rb +49 -0
- data/lib/spec/mocks/error_generator.rb +84 -0
- data/lib/spec/mocks/errors.rb +10 -0
- data/lib/spec/mocks/extensions/object.rb +3 -0
- data/lib/spec/mocks/extensions.rb +1 -0
- data/lib/spec/mocks/framework.rb +15 -0
- data/lib/spec/mocks/message_expectation.rb +331 -0
- data/lib/spec/mocks/methods.rb +51 -0
- data/lib/spec/mocks/mock.rb +56 -0
- data/lib/spec/mocks/order_group.rb +29 -0
- data/lib/spec/mocks/proxy.rb +224 -0
- data/lib/spec/mocks/space.rb +28 -0
- data/lib/spec/mocks/spec_methods.rb +46 -0
- data/lib/spec/mocks.rb +200 -0
- data/lib/spec/rake/spectask.rb +227 -0
- data/lib/spec/rake/verify_rcov.rb +52 -0
- data/lib/spec/runner/backtrace_tweaker.rb +56 -0
- data/lib/spec/runner/class_and_arguments_parser.rb +16 -0
- data/lib/spec/runner/command_line.rb +17 -0
- data/lib/spec/runner/drb_command_line.rb +20 -0
- data/lib/spec/runner/example_group_runner.rb +59 -0
- data/lib/spec/runner/formatter/base_formatter.rb +79 -0
- data/lib/spec/runner/formatter/base_text_formatter.rb +126 -0
- data/lib/spec/runner/formatter/failing_example_groups_formatter.rb +27 -0
- data/lib/spec/runner/formatter/failing_examples_formatter.rb +20 -0
- data/lib/spec/runner/formatter/html_formatter.rb +337 -0
- data/lib/spec/runner/formatter/nested_text_formatter.rb +65 -0
- data/lib/spec/runner/formatter/profile_formatter.rb +51 -0
- data/lib/spec/runner/formatter/progress_bar_formatter.rb +34 -0
- data/lib/spec/runner/formatter/snippet_extractor.rb +52 -0
- data/lib/spec/runner/formatter/specdoc_formatter.rb +39 -0
- data/lib/spec/runner/formatter/story/html_formatter.rb +174 -0
- data/lib/spec/runner/formatter/story/plain_text_formatter.rb +194 -0
- data/lib/spec/runner/formatter/story/progress_bar_formatter.rb +42 -0
- data/lib/spec/runner/formatter/text_mate_formatter.rb +16 -0
- data/lib/spec/runner/heckle_runner.rb +72 -0
- data/lib/spec/runner/heckle_runner_unsupported.rb +10 -0
- data/lib/spec/runner/option_parser.rb +205 -0
- data/lib/spec/runner/options.rb +320 -0
- data/lib/spec/runner/reporter.rb +167 -0
- data/lib/spec/runner/spec_parser.rb +71 -0
- data/lib/spec/runner.rb +213 -0
- data/lib/spec/story/extensions/main.rb +86 -0
- data/lib/spec/story/extensions/regexp.rb +9 -0
- data/lib/spec/story/extensions/string.rb +9 -0
- data/lib/spec/story/extensions.rb +3 -0
- data/lib/spec/story/given_scenario.rb +14 -0
- data/lib/spec/story/runner/plain_text_story_runner.rb +48 -0
- data/lib/spec/story/runner/scenario_collector.rb +18 -0
- data/lib/spec/story/runner/scenario_runner.rb +54 -0
- data/lib/spec/story/runner/story_mediator.rb +137 -0
- data/lib/spec/story/runner/story_parser.rb +247 -0
- data/lib/spec/story/runner/story_runner.rb +70 -0
- data/lib/spec/story/runner.rb +59 -0
- data/lib/spec/story/scenario.rb +14 -0
- data/lib/spec/story/step.rb +70 -0
- data/lib/spec/story/step_group.rb +89 -0
- data/lib/spec/story/step_mother.rb +38 -0
- data/lib/spec/story/story.rb +39 -0
- data/lib/spec/story/world.rb +128 -0
- data/lib/spec/story.rb +10 -0
- data/lib/spec/version.rb +13 -0
- data/lib/spec.rb +32 -0
- data/plugins/mock_frameworks/flexmock.rb +23 -0
- data/plugins/mock_frameworks/mocha.rb +19 -0
- data/plugins/mock_frameworks/rr.rb +21 -0
- data/plugins/mock_frameworks/rspec.rb +20 -0
- data/rake_tasks/examples.rake +7 -0
- data/rake_tasks/examples_with_rcov.rake +9 -0
- data/rake_tasks/failing_examples_with_html.rake +9 -0
- data/rake_tasks/verify_rcov.rake +7 -0
- data/rspec.gemspec +42 -0
- data/spec/README.jruby +15 -0
- data/spec/autotest/autotest_helper.rb +6 -0
- data/spec/autotest/autotest_matchers.rb +47 -0
- data/spec/autotest/discover_spec.rb +19 -0
- data/spec/autotest/rspec_spec.rb +150 -0
- data/spec/rspec_suite.rb +6 -0
- data/spec/ruby_forker.rb +13 -0
- data/spec/spec/adapters/ruby_engine_spec.rb +16 -0
- data/spec/spec/example/configuration_spec.rb +296 -0
- data/spec/spec/example/example_group_class_definition_spec.rb +48 -0
- data/spec/spec/example/example_group_factory_spec.rb +165 -0
- data/spec/spec/example/example_group_methods_spec.rb +584 -0
- data/spec/spec/example/example_group_spec.rb +683 -0
- data/spec/spec/example/example_matcher_spec.rb +96 -0
- data/spec/spec/example/example_methods_spec.rb +169 -0
- data/spec/spec/example/example_runner_spec.rb +194 -0
- data/spec/spec/example/nested_example_group_spec.rb +71 -0
- data/spec/spec/example/pending_module_spec.rb +145 -0
- data/spec/spec/example/predicate_matcher_spec.rb +21 -0
- data/spec/spec/example/shared_example_group_spec.rb +281 -0
- data/spec/spec/example/subclassing_example_group_spec.rb +25 -0
- data/spec/spec/expectations/differs/default_spec.rb +127 -0
- data/spec/spec/expectations/extensions/object_spec.rb +95 -0
- data/spec/spec/expectations/fail_with_spec.rb +71 -0
- data/spec/spec/extensions/main_spec.rb +71 -0
- data/spec/spec/interop/test/unit/resources/spec_that_fails.rb +10 -0
- data/spec/spec/interop/test/unit/resources/spec_that_passes.rb +10 -0
- data/spec/spec/interop/test/unit/resources/spec_with_errors.rb +10 -0
- data/spec/spec/interop/test/unit/resources/spec_with_options_hash.rb +13 -0
- data/spec/spec/interop/test/unit/resources/test_case_that_fails.rb +10 -0
- data/spec/spec/interop/test/unit/resources/test_case_that_passes.rb +10 -0
- data/spec/spec/interop/test/unit/resources/test_case_with_errors.rb +10 -0
- data/spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb +38 -0
- data/spec/spec/interop/test/unit/spec_spec.rb +52 -0
- data/spec/spec/interop/test/unit/test_unit_spec_helper.rb +14 -0
- data/spec/spec/interop/test/unit/testcase_spec.rb +49 -0
- data/spec/spec/interop/test/unit/testsuite_adapter_spec.rb +9 -0
- data/spec/spec/matchers/be_close_spec.rb +39 -0
- data/spec/spec/matchers/be_spec.rb +248 -0
- data/spec/spec/matchers/change_spec.rb +329 -0
- data/spec/spec/matchers/description_generation_spec.rb +153 -0
- data/spec/spec/matchers/eql_spec.rb +28 -0
- data/spec/spec/matchers/equal_spec.rb +28 -0
- data/spec/spec/matchers/exist_spec.rb +57 -0
- data/spec/spec/matchers/handler_spec.rb +150 -0
- data/spec/spec/matchers/has_spec.rb +63 -0
- data/spec/spec/matchers/have_spec.rb +394 -0
- data/spec/spec/matchers/include_spec.rb +64 -0
- data/spec/spec/matchers/match_spec.rb +37 -0
- data/spec/spec/matchers/matcher_methods_spec.rb +78 -0
- data/spec/spec/matchers/mock_constraint_matchers_spec.rb +24 -0
- data/spec/spec/matchers/operator_matcher_spec.rb +191 -0
- data/spec/spec/matchers/raise_error_spec.rb +315 -0
- data/spec/spec/matchers/respond_to_spec.rb +54 -0
- data/spec/spec/matchers/satisfy_spec.rb +36 -0
- data/spec/spec/matchers/simple_matcher_spec.rb +93 -0
- data/spec/spec/matchers/throw_symbol_spec.rb +54 -0
- data/spec/spec/mocks/any_number_of_times_spec.rb +36 -0
- data/spec/spec/mocks/argument_expectation_spec.rb +23 -0
- data/spec/spec/mocks/at_least_spec.rb +97 -0
- data/spec/spec/mocks/at_most_spec.rb +93 -0
- data/spec/spec/mocks/bug_report_10260_spec.rb +8 -0
- data/spec/spec/mocks/bug_report_10263_spec.rb +24 -0
- data/spec/spec/mocks/bug_report_11545_spec.rb +33 -0
- data/spec/spec/mocks/bug_report_15719_spec.rb +30 -0
- data/spec/spec/mocks/bug_report_496.rb +17 -0
- data/spec/spec/mocks/bug_report_7611_spec.rb +19 -0
- data/spec/spec/mocks/bug_report_7805_spec.rb +22 -0
- data/spec/spec/mocks/bug_report_8165_spec.rb +31 -0
- data/spec/spec/mocks/bug_report_8302_spec.rb +26 -0
- data/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +95 -0
- data/spec/spec/mocks/hash_including_matcher_spec.rb +53 -0
- data/spec/spec/mocks/mock_ordering_spec.rb +84 -0
- data/spec/spec/mocks/mock_space_spec.rb +54 -0
- data/spec/spec/mocks/mock_spec.rb +555 -0
- data/spec/spec/mocks/multiple_return_value_spec.rb +113 -0
- data/spec/spec/mocks/nil_expectation_warning_spec.rb +53 -0
- data/spec/spec/mocks/null_object_mock_spec.rb +54 -0
- data/spec/spec/mocks/once_counts_spec.rb +53 -0
- data/spec/spec/mocks/options_hash_spec.rb +35 -0
- data/spec/spec/mocks/partial_mock_spec.rb +149 -0
- data/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +66 -0
- data/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +130 -0
- data/spec/spec/mocks/precise_counts_spec.rb +52 -0
- data/spec/spec/mocks/record_messages_spec.rb +26 -0
- data/spec/spec/mocks/stub_spec.rb +188 -0
- data/spec/spec/mocks/twice_counts_spec.rb +67 -0
- data/spec/spec/package/bin_spec_spec.rb +22 -0
- data/spec/spec/runner/class_and_argument_parser_spec.rb +23 -0
- data/spec/spec/runner/command_line_spec.rb +141 -0
- data/spec/spec/runner/drb_command_line_spec.rb +97 -0
- data/spec/spec/runner/empty_file.txt +0 -0
- data/spec/spec/runner/examples.txt +2 -0
- data/spec/spec/runner/failed.txt +3 -0
- data/spec/spec/runner/formatter/base_formatter_spec.rb +112 -0
- data/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +45 -0
- data/spec/spec/runner/formatter/failing_examples_formatter_spec.rb +33 -0
- data/spec/spec/runner/formatter/html_formatted-1.8.4.html +365 -0
- data/spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html +387 -0
- data/spec/spec/runner/formatter/html_formatted-1.8.5.html +371 -0
- data/spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html +381 -0
- data/spec/spec/runner/formatter/html_formatted-1.8.6.html +370 -0
- data/spec/spec/runner/formatter/html_formatter_spec.rb +61 -0
- data/spec/spec/runner/formatter/nested_text_formatter_spec.rb +318 -0
- data/spec/spec/runner/formatter/profile_formatter_spec.rb +65 -0
- data/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +155 -0
- data/spec/spec/runner/formatter/snippet_extractor_spec.rb +18 -0
- data/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +103 -0
- data/spec/spec/runner/formatter/specdoc_formatter_spec.rb +159 -0
- data/spec/spec/runner/formatter/story/html_formatter_spec.rb +135 -0
- data/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +600 -0
- data/spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb +82 -0
- data/spec/spec/runner/formatter/text_mate_formatted-1.8.4.html +365 -0
- data/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +370 -0
- data/spec/spec/runner/heckle_runner_spec.rb +78 -0
- data/spec/spec/runner/heckler_spec.rb +13 -0
- data/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +45 -0
- data/spec/spec/runner/option_parser_spec.rb +421 -0
- data/spec/spec/runner/options_spec.rb +450 -0
- data/spec/spec/runner/output_one_time_fixture.rb +7 -0
- data/spec/spec/runner/output_one_time_fixture_runner.rb +8 -0
- data/spec/spec/runner/output_one_time_spec.rb +16 -0
- data/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +62 -0
- data/spec/spec/runner/reporter_spec.rb +238 -0
- data/spec/spec/runner/resources/a_bar.rb +0 -0
- data/spec/spec/runner/resources/a_foo.rb +0 -0
- data/spec/spec/runner/resources/a_spec.rb +1 -0
- data/spec/spec/runner/spec.opts +2 -0
- data/spec/spec/runner/spec_drb.opts +1 -0
- data/spec/spec/runner/spec_parser/spec_parser_fixture.rb +70 -0
- data/spec/spec/runner/spec_parser_spec.rb +85 -0
- data/spec/spec/runner/spec_spaced.opts +2 -0
- data/spec/spec/runner_spec.rb +11 -0
- data/spec/spec/spec_classes.rb +133 -0
- data/spec/spec/story/builders.rb +46 -0
- data/spec/spec/story/extensions/main_spec.rb +161 -0
- data/spec/spec/story/extensions_spec.rb +14 -0
- data/spec/spec/story/given_scenario_spec.rb +27 -0
- data/spec/spec/story/runner/plain_text_story_runner_spec.rb +90 -0
- data/spec/spec/story/runner/scenario_collector_spec.rb +27 -0
- data/spec/spec/story/runner/scenario_runner_spec.rb +214 -0
- data/spec/spec/story/runner/story_mediator_spec.rb +143 -0
- data/spec/spec/story/runner/story_parser_spec.rb +401 -0
- data/spec/spec/story/runner/story_runner_spec.rb +294 -0
- data/spec/spec/story/runner_spec.rb +93 -0
- data/spec/spec/story/scenario_spec.rb +18 -0
- data/spec/spec/story/step_group_spec.rb +157 -0
- data/spec/spec/story/step_mother_spec.rb +84 -0
- data/spec/spec/story/step_spec.rb +272 -0
- data/spec/spec/story/story_helper.rb +2 -0
- data/spec/spec/story/story_spec.rb +84 -0
- data/spec/spec/story/world_spec.rb +423 -0
- data/spec/spec.opts +6 -0
- data/spec/spec_helper.rb +77 -0
- data/stories/all.rb +5 -0
- data/stories/configuration/before_blocks.story +21 -0
- data/stories/configuration/stories.rb +7 -0
- data/stories/example_groups/autogenerated_docstrings +45 -0
- data/stories/example_groups/example_group_with_should_methods +17 -0
- data/stories/example_groups/nested_groups +17 -0
- data/stories/example_groups/output +25 -0
- data/stories/example_groups/stories.rb +7 -0
- data/stories/helper.rb +6 -0
- data/stories/interop/examples_and_tests_together +30 -0
- data/stories/interop/stories.rb +7 -0
- data/stories/interop/test_case_with_should_methods +17 -0
- data/stories/mock_framework_integration/stories.rb +7 -0
- data/stories/mock_framework_integration/use_flexmock.story +9 -0
- data/stories/pending_stories/README +3 -0
- data/stories/resources/helpers/cmdline.rb +9 -0
- data/stories/resources/helpers/story_helper.rb +16 -0
- data/stories/resources/matchers/smart_match.rb +37 -0
- data/stories/resources/spec/before_blocks_example.rb +32 -0
- data/stories/resources/spec/example_group_with_should_methods.rb +12 -0
- data/stories/resources/spec/simple_spec.rb +8 -0
- data/stories/resources/spec/spec_with_flexmock.rb +18 -0
- data/stories/resources/steps/running_rspec.rb +50 -0
- data/stories/resources/stories/failing_story.rb +15 -0
- data/stories/resources/test/spec_and_test_together.rb +57 -0
- data/stories/resources/test/test_case_with_should_methods.rb +30 -0
- data/stories/stories/multiline_steps.story +23 -0
- data/stories/stories/steps/multiline_steps.rb +13 -0
- data/stories/stories/stories.rb +6 -0
- data/story_server/prototype/javascripts/builder.js +136 -0
- data/story_server/prototype/javascripts/controls.js +972 -0
- data/story_server/prototype/javascripts/dragdrop.js +976 -0
- data/story_server/prototype/javascripts/effects.js +1117 -0
- data/story_server/prototype/javascripts/prototype.js +4140 -0
- data/story_server/prototype/javascripts/rspec.js +149 -0
- data/story_server/prototype/javascripts/scriptaculous.js +58 -0
- data/story_server/prototype/javascripts/slider.js +276 -0
- data/story_server/prototype/javascripts/sound.js +55 -0
- data/story_server/prototype/javascripts/unittest.js +568 -0
- data/story_server/prototype/lib/server.rb +24 -0
- data/story_server/prototype/stories.html +176 -0
- data/story_server/prototype/stylesheets/rspec.css +136 -0
- data/story_server/prototype/stylesheets/test.css +90 -0
- metadata +495 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'webrick'
|
2
|
+
|
3
|
+
class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
|
4
|
+
def do_POST(request, response)
|
5
|
+
File.open('story', 'w') do |io|
|
6
|
+
io.write(request.body)
|
7
|
+
end
|
8
|
+
|
9
|
+
response.status = 200
|
10
|
+
response['Content-Type'] = 'text/html'
|
11
|
+
response.body = "body"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
params = { :Port => 4000,
|
16
|
+
:ServerType => WEBrick::SimpleServer,
|
17
|
+
:BindAddress => "0.0.0.0",
|
18
|
+
:MimeTypes => WEBrick::HTTPUtils::DefaultMimeTypes }
|
19
|
+
server = WEBrick::HTTPServer.new(params)
|
20
|
+
server.mount('/stories', DispatchServlet)
|
21
|
+
server.mount('/', WEBrick::HTTPServlet::FileHandler, File.dirname(__FILE__) + '/..', { :FancyIndexing => true })
|
22
|
+
|
23
|
+
trap("INT") { server.shutdown }
|
24
|
+
server.start
|
@@ -0,0 +1,176 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<title>Stories</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
<meta http-equiv="Expires" content="-1" />
|
10
|
+
<meta http-equiv="Pragma" content="no-cache" />
|
11
|
+
<script src="javascripts/prototype.js" type="text/javascript"></script>
|
12
|
+
<script src="javascripts/scriptaculous.js" type="text/javascript"></script>
|
13
|
+
<script src="javascripts/rspec.js" type="text/javascript"></script>
|
14
|
+
<script src="javascripts/unittest.js" type="text/javascript"></script>
|
15
|
+
|
16
|
+
<link href="stylesheets/rspec.css" rel="stylesheet" type="text/css" />
|
17
|
+
<link href="stylesheets/test.css" rel="stylesheet" type="text/css" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<!--
|
21
|
+
Classes and ids that are only used by the Story UI, which don't have to be present in
|
22
|
+
the Example report:
|
23
|
+
|
24
|
+
#nav
|
25
|
+
#stock_steps
|
26
|
+
dl.story
|
27
|
+
ul.steps
|
28
|
+
-->
|
29
|
+
<div id="nav">
|
30
|
+
<a href="#" onclick="javascript:StoryDom.save();">SAVE</a>
|
31
|
+
</div>
|
32
|
+
<div id="container">
|
33
|
+
<ul id="stock_steps" style="display: none;">
|
34
|
+
<li>Given my savings account balance is $balance dollars</li>
|
35
|
+
<li>Given my cash account balance is $balance dollars</li>
|
36
|
+
<li>Given my $which account has been blocked for $n days</li>
|
37
|
+
<li>When I transfer $amount dollars</li>
|
38
|
+
<li>Then my savings account balance should be $balance dollars</li>
|
39
|
+
<li>Then my cash account balance should be $balance dollars</li>
|
40
|
+
</ul>
|
41
|
+
<dl class="story failed">
|
42
|
+
<dt>transfer to cash account</dt>
|
43
|
+
<dd>
|
44
|
+
<p>
|
45
|
+
As a savings account holder<br />
|
46
|
+
I want to transfer money from my savings account<br />
|
47
|
+
So that I can get cash easily from an ATM<br />
|
48
|
+
</p>
|
49
|
+
<dl class="passed">
|
50
|
+
<dt>savings account is in credit</dt>
|
51
|
+
<dd>
|
52
|
+
<ul class="steps">
|
53
|
+
<li class="passed">Given my savings account balance is <span class="param">100</span> dollars</li>
|
54
|
+
<li class="passed">Given my cash account balance is <span class="param">10</span> dollars</li>
|
55
|
+
<li class="passed">When I transfer <span class="param">20</span> dollars</li>
|
56
|
+
<li class="passed">Then my savings account balance should be <span class="param">80</span> dollars</li>
|
57
|
+
<li class="passed">Then my cash account balance should be <span class="param">30</span> dollars</li>
|
58
|
+
</ul>
|
59
|
+
</dd>
|
60
|
+
</dl>
|
61
|
+
|
62
|
+
<dl class="failed">
|
63
|
+
<dt>savings account is overdrawn</dt>
|
64
|
+
<dd>
|
65
|
+
<ul class="steps">
|
66
|
+
<li class="passed">Given my savings account balance is <span class="param">-20</span> dollars</li>
|
67
|
+
<li class="passed">Given my cash account balance is <span class="param">10</span> dollars</li>
|
68
|
+
<li class="passed">When I transfer <span class="param">20</span> dollars</li>
|
69
|
+
<li class="failed">Then my savings account balance should be <span class="param">-20</span> dollars</li>
|
70
|
+
<li class="failed">Then my cash account balance should be <span class="param">10</span> dollars</li>
|
71
|
+
<li class="pending">Then I should still be poor</li>
|
72
|
+
</ul>
|
73
|
+
</dd>
|
74
|
+
</dl>
|
75
|
+
</dd>
|
76
|
+
</dl>
|
77
|
+
<!-- More stories here... -->
|
78
|
+
|
79
|
+
<!-- Tests follow -->
|
80
|
+
<div id="testlog"> </div>
|
81
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
82
|
+
// <![CDATA[
|
83
|
+
Test.context("RSpec editor tests (this won't be in the final editor - it's just self tests)",{
|
84
|
+
'should extract story narrative': function() {
|
85
|
+
var narrative = StoryDom.narrativeText($$('p')[0].innerHTML);
|
86
|
+
narrative.shouldEqual(
|
87
|
+
" As a savings account holder\n" +
|
88
|
+
" I want to transfer money from my savings account\n" +
|
89
|
+
" So that I can get cash easily from an ATM\n"
|
90
|
+
);
|
91
|
+
},
|
92
|
+
|
93
|
+
'should extract step text with two spans': function() {
|
94
|
+
var stepText = StoryDom.stepText('Given <span class="param">this</span> and <span class="param">that</span> stuff');
|
95
|
+
stepText.shouldEqual("Given this and that stuff");
|
96
|
+
},
|
97
|
+
|
98
|
+
'should extract scenario': function() {
|
99
|
+
var scenario = StoryDom.scenario($$('dl')[1]);
|
100
|
+
scenario.shouldEqual(
|
101
|
+
" Scenario: savings account is in credit\n" +
|
102
|
+
" Given my savings account balance is 100 dollars\n" +
|
103
|
+
" Given my cash account balance is 10 dollars\n" +
|
104
|
+
" When I transfer 20 dollars\n" +
|
105
|
+
" Then my savings account balance should be 80 dollars\n" +
|
106
|
+
" Then my cash account balance should be 30 dollars\n"
|
107
|
+
);
|
108
|
+
},
|
109
|
+
|
110
|
+
'should extract story from page': function() {
|
111
|
+
var story = StoryDom.story();
|
112
|
+
story.shouldEqual(
|
113
|
+
"Story: transfer to cash account\n" +
|
114
|
+
"\n" +
|
115
|
+
" As a savings account holder\n" +
|
116
|
+
" I want to transfer money from my savings account\n" +
|
117
|
+
" So that I can get cash easily from an ATM\n" +
|
118
|
+
"\n" +
|
119
|
+
" Scenario: savings account is in credit\n" +
|
120
|
+
" Given my savings account balance is 100 dollars\n" +
|
121
|
+
" Given my cash account balance is 10 dollars\n" +
|
122
|
+
" When I transfer 20 dollars\n" +
|
123
|
+
" Then my savings account balance should be 80 dollars\n" +
|
124
|
+
" Then my cash account balance should be 30 dollars\n" +
|
125
|
+
"\n" +
|
126
|
+
" Scenario: savings account is overdrawn\n" +
|
127
|
+
" Given my savings account balance is -20 dollars\n" +
|
128
|
+
" Given my cash account balance is 10 dollars\n" +
|
129
|
+
" When I transfer 20 dollars\n" +
|
130
|
+
" Then my savings account balance should be -20 dollars\n" +
|
131
|
+
" Then my cash account balance should be 10 dollars\n" +
|
132
|
+
" Then I should still be poor\n"
|
133
|
+
);
|
134
|
+
},
|
135
|
+
|
136
|
+
'should extract stock steps from dom': function() {
|
137
|
+
var stockSteps = RSpec.stockSteps();
|
138
|
+
stockSteps.shouldEqualEnum([
|
139
|
+
'Given my $which account has been blocked for $n days',
|
140
|
+
'Given my cash account balance is $balance dollars',
|
141
|
+
'Given my savings account balance is $balance dollars',
|
142
|
+
'Then my cash account balance should be $balance dollars',
|
143
|
+
'Then my savings account balance should be $balance dollars',
|
144
|
+
'When I transfer $amount dollars'
|
145
|
+
]);
|
146
|
+
},
|
147
|
+
|
148
|
+
'should add new stock steps unless they already exist': function() {
|
149
|
+
RSpec.addStockStep('When Godzilla chews over a cable');
|
150
|
+
RSpec.stockSteps().shouldEqualEnum([
|
151
|
+
'Given my $which account has been blocked for $n days',
|
152
|
+
'Given my cash account balance is $balance dollars',
|
153
|
+
'Given my savings account balance is $balance dollars',
|
154
|
+
'Then my cash account balance should be $balance dollars',
|
155
|
+
'Then my savings account balance should be $balance dollars',
|
156
|
+
'When Godzilla chews over a cable',
|
157
|
+
'When I transfer $amount dollars'
|
158
|
+
]);
|
159
|
+
RSpec.addStockStep('When Godzilla chews over a cable');
|
160
|
+
RSpec.stockSteps().shouldEqualEnum([
|
161
|
+
'Given my $which account has been blocked for $n days',
|
162
|
+
'Given my cash account balance is $balance dollars',
|
163
|
+
'Given my savings account balance is $balance dollars',
|
164
|
+
'Then my cash account balance should be $balance dollars',
|
165
|
+
'Then my savings account balance should be $balance dollars',
|
166
|
+
'When Godzilla chews over a cable',
|
167
|
+
'When I transfer $amount dollars'
|
168
|
+
]);
|
169
|
+
}
|
170
|
+
});
|
171
|
+
// ]]>
|
172
|
+
</script>
|
173
|
+
|
174
|
+
</div>
|
175
|
+
</body>
|
176
|
+
</html>
|
@@ -0,0 +1,136 @@
|
|
1
|
+
body {
|
2
|
+
background: #fff;
|
3
|
+
font-size: 80%;
|
4
|
+
margin:0pt;
|
5
|
+
padding:0pt;
|
6
|
+
}
|
7
|
+
|
8
|
+
#nav {
|
9
|
+
border-bottom:1px solid #222222;
|
10
|
+
border-top-style:solid;
|
11
|
+
border-top-width:0.5em;
|
12
|
+
font-family:Helvetica,Arial,sans-serif;
|
13
|
+
font-size:1.1em;
|
14
|
+
padding:0.2em 0pt;
|
15
|
+
position:fixed;
|
16
|
+
text-align:center;
|
17
|
+
width:100%;
|
18
|
+
z-index:50;
|
19
|
+
|
20
|
+
background-color: #000000;
|
21
|
+
opacity: 0.6;
|
22
|
+
}
|
23
|
+
|
24
|
+
#container {
|
25
|
+
background:white none repeat scroll 0%;
|
26
|
+
font-family:Helvetica,Arial,sans-serif;
|
27
|
+
margin:0pt auto;
|
28
|
+
position:relative;
|
29
|
+
text-align:left;
|
30
|
+
top:4.0em;
|
31
|
+
width:78em;
|
32
|
+
}
|
33
|
+
|
34
|
+
dl {
|
35
|
+
font: normal 11px "Lucida Grande", Helvetica, sans-serif;
|
36
|
+
}
|
37
|
+
|
38
|
+
dt {
|
39
|
+
color: #fff;
|
40
|
+
}
|
41
|
+
|
42
|
+
dl.passed {
|
43
|
+
border-left: 5px solid #65C400;
|
44
|
+
}
|
45
|
+
|
46
|
+
dl.failed {
|
47
|
+
border-left: 5px solid #C20000;
|
48
|
+
}
|
49
|
+
|
50
|
+
dt {
|
51
|
+
padding: 3px;
|
52
|
+
font-weight: bold;
|
53
|
+
}
|
54
|
+
|
55
|
+
dd {
|
56
|
+
margin: 0px 0px 0px 0px;
|
57
|
+
}
|
58
|
+
|
59
|
+
dd p {
|
60
|
+
padding: 5px;
|
61
|
+
margin-top: 0;
|
62
|
+
margin-bottom: 5px;
|
63
|
+
}
|
64
|
+
|
65
|
+
dd > dl {
|
66
|
+
margin-left: 5px;
|
67
|
+
}
|
68
|
+
|
69
|
+
dl.passed > dt {
|
70
|
+
background: #65C400;
|
71
|
+
}
|
72
|
+
|
73
|
+
dl.failed > dt {
|
74
|
+
background: #C20000;
|
75
|
+
}
|
76
|
+
|
77
|
+
dl.passed > dd > p, li.passed {
|
78
|
+
background: #DBFFB4; color: #3D7700;
|
79
|
+
border-bottom: 1px solid #65C400;
|
80
|
+
}
|
81
|
+
|
82
|
+
dl.failed > dd > p, li.failed {
|
83
|
+
color: #C20000; background: #FFFBD3;
|
84
|
+
border-bottom: 1px solid #C20000;
|
85
|
+
}
|
86
|
+
|
87
|
+
dl.pending > dd > p, li.pending {
|
88
|
+
color: #131313; background: #FCFB98;
|
89
|
+
border-bottom: 1px solid #FAF834;
|
90
|
+
}
|
91
|
+
|
92
|
+
dl.new > dd > p, li.new {
|
93
|
+
color: #444444; background: #DDDDDD;
|
94
|
+
border-bottom: 1px solid #444444;
|
95
|
+
}
|
96
|
+
|
97
|
+
dl > dd > p.wastebin {
|
98
|
+
background-color: black;
|
99
|
+
}
|
100
|
+
|
101
|
+
span.param, span.param_editor {
|
102
|
+
font-weight: bold;
|
103
|
+
}
|
104
|
+
|
105
|
+
input {
|
106
|
+
width: 100%;
|
107
|
+
}
|
108
|
+
|
109
|
+
ul.steps {
|
110
|
+
padding: 0px;
|
111
|
+
list-style: none;
|
112
|
+
}
|
113
|
+
|
114
|
+
ul.steps > li {
|
115
|
+
margin: 5px 0px 5px 5px;
|
116
|
+
padding: 3px 3px 3px 5px;
|
117
|
+
}
|
118
|
+
|
119
|
+
div.auto_complete ul {
|
120
|
+
list-style-type: none;
|
121
|
+
border: 2px solid #F0F0F0;
|
122
|
+
margin: 0px;
|
123
|
+
padding: 0px;
|
124
|
+
}
|
125
|
+
|
126
|
+
div.auto_complete ul li {
|
127
|
+
background-color: white;
|
128
|
+
list-style-type: none;
|
129
|
+
display: block;
|
130
|
+
margin: 0;
|
131
|
+
padding: 2px;
|
132
|
+
}
|
133
|
+
|
134
|
+
div.auto_complete ul li.selected {
|
135
|
+
color: #444444; background: #DDDDDD;
|
136
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
body, div, p, h1, h2, h3, ul, ol, span, a, table, td, form, img, li {
|
2
|
+
font-family: sans-serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
body {
|
6
|
+
font-size:0.8em;
|
7
|
+
}
|
8
|
+
|
9
|
+
.navigation {
|
10
|
+
background: #9DC569;
|
11
|
+
color: #fff;
|
12
|
+
}
|
13
|
+
|
14
|
+
.navigation h1 {
|
15
|
+
font-size: 20px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.navigation h2 {
|
19
|
+
font-size: 16px;
|
20
|
+
font-weight: normal;
|
21
|
+
margin: 0;
|
22
|
+
border: 1px solid #e8a400;
|
23
|
+
border-bottom: 0;
|
24
|
+
background: #ffc;
|
25
|
+
color: #E8A400;
|
26
|
+
padding: 8px;
|
27
|
+
padding-bottom: 0;
|
28
|
+
}
|
29
|
+
|
30
|
+
.navigation ul {
|
31
|
+
margin-top: 0;
|
32
|
+
border: 1px solid #E8A400;
|
33
|
+
border-top: none;
|
34
|
+
background: #ffc;
|
35
|
+
padding: 8px;
|
36
|
+
margin-left: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
.navigation ul li {
|
40
|
+
font-size: 12px;
|
41
|
+
list-style-type: none;
|
42
|
+
margin-top: 1px;
|
43
|
+
margin-bottom: 1px;
|
44
|
+
color: #555;
|
45
|
+
}
|
46
|
+
|
47
|
+
.navigation a {
|
48
|
+
color: #ffc;
|
49
|
+
}
|
50
|
+
|
51
|
+
.navigation ul li a {
|
52
|
+
color: #000;
|
53
|
+
}
|
54
|
+
|
55
|
+
#log {
|
56
|
+
padding-bottom: 1em;
|
57
|
+
border-bottom: 2px solid #000;
|
58
|
+
margin-bottom: 2em;
|
59
|
+
}
|
60
|
+
|
61
|
+
#logsummary {
|
62
|
+
margin-bottom: 1em;
|
63
|
+
padding: 1ex;
|
64
|
+
border: 1px solid #000;
|
65
|
+
font-weight: bold;
|
66
|
+
}
|
67
|
+
|
68
|
+
#logtable {
|
69
|
+
width:100%;
|
70
|
+
border-collapse: collapse;
|
71
|
+
border: 1px dotted #666;
|
72
|
+
}
|
73
|
+
|
74
|
+
#logtable td, #logtable th {
|
75
|
+
text-align: left;
|
76
|
+
padding: 3px 8px;
|
77
|
+
border: 1px dotted #666;
|
78
|
+
}
|
79
|
+
|
80
|
+
#logtable .passed {
|
81
|
+
background-color: #cfc;
|
82
|
+
}
|
83
|
+
|
84
|
+
#logtable .failed, #logtable .error {
|
85
|
+
background-color: #fcc;
|
86
|
+
}
|
87
|
+
|
88
|
+
#logtable .nameCell {
|
89
|
+
cursor: pointer;
|
90
|
+
}
|
metadata
ADDED
@@ -0,0 +1,495 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dchelimsky-rspec
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.10
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- RSpec Development Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-10-24 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: diff-lcs
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: syntax
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: "0"
|
32
|
+
version:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: hoe
|
35
|
+
version_requirement:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.8.1
|
41
|
+
version:
|
42
|
+
description: Behaviour Driven Development for Ruby.
|
43
|
+
email:
|
44
|
+
- rspec-devel@rubyforge.org
|
45
|
+
executables:
|
46
|
+
- autospec
|
47
|
+
- spec
|
48
|
+
extensions: []
|
49
|
+
|
50
|
+
extra_rdoc_files:
|
51
|
+
- History.txt
|
52
|
+
- License.txt
|
53
|
+
- Manifest.txt
|
54
|
+
- README.txt
|
55
|
+
- TODO.txt
|
56
|
+
- examples/pure/priority.txt
|
57
|
+
- examples/stories/game-of-life/README.txt
|
58
|
+
- examples/stories/game-of-life/behaviour/stories/stories.txt
|
59
|
+
- failing_examples/README.txt
|
60
|
+
- spec/spec/runner/empty_file.txt
|
61
|
+
- spec/spec/runner/examples.txt
|
62
|
+
- spec/spec/runner/failed.txt
|
63
|
+
files:
|
64
|
+
- History.txt
|
65
|
+
- License.txt
|
66
|
+
- Manifest.txt
|
67
|
+
- README.txt
|
68
|
+
- Rakefile
|
69
|
+
- TODO.txt
|
70
|
+
- bin/autospec
|
71
|
+
- bin/spec
|
72
|
+
- examples/pure/autogenerated_docstrings_example.rb
|
73
|
+
- examples/pure/before_and_after_example.rb
|
74
|
+
- examples/pure/behave_as_example.rb
|
75
|
+
- examples/pure/custom_expectation_matchers.rb
|
76
|
+
- examples/pure/custom_formatter.rb
|
77
|
+
- examples/pure/dynamic_spec.rb
|
78
|
+
- examples/pure/file_accessor.rb
|
79
|
+
- examples/pure/file_accessor_spec.rb
|
80
|
+
- examples/pure/greeter_spec.rb
|
81
|
+
- examples/pure/helper_method_example.rb
|
82
|
+
- examples/pure/io_processor.rb
|
83
|
+
- examples/pure/io_processor_spec.rb
|
84
|
+
- examples/pure/legacy_spec.rb
|
85
|
+
- examples/pure/mocking_example.rb
|
86
|
+
- examples/pure/multi_threaded_behaviour_runner.rb
|
87
|
+
- examples/pure/nested_classes_example.rb
|
88
|
+
- examples/pure/partial_mock_example.rb
|
89
|
+
- examples/pure/pending_example.rb
|
90
|
+
- examples/pure/predicate_example.rb
|
91
|
+
- examples/pure/priority.txt
|
92
|
+
- examples/pure/shared_example_group_example.rb
|
93
|
+
- examples/pure/shared_stack_examples.rb
|
94
|
+
- examples/pure/spec_helper.rb
|
95
|
+
- examples/pure/stack.rb
|
96
|
+
- examples/pure/stack_spec.rb
|
97
|
+
- examples/pure/stack_spec_with_nested_example_groups.rb
|
98
|
+
- examples/pure/stubbing_example.rb
|
99
|
+
- examples/pure/yielding_example.rb
|
100
|
+
- examples/stories/adder.rb
|
101
|
+
- examples/stories/addition
|
102
|
+
- examples/stories/addition.rb
|
103
|
+
- examples/stories/calculator.rb
|
104
|
+
- examples/stories/game-of-life/.loadpath
|
105
|
+
- examples/stories/game-of-life/README.txt
|
106
|
+
- examples/stories/game-of-life/behaviour/everything.rb
|
107
|
+
- examples/stories/game-of-life/behaviour/examples/examples.rb
|
108
|
+
- examples/stories/game-of-life/behaviour/examples/game_behaviour.rb
|
109
|
+
- examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb
|
110
|
+
- examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story
|
111
|
+
- examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
|
112
|
+
- examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story
|
113
|
+
- examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story
|
114
|
+
- examples/stories/game-of-life/behaviour/stories/ICanKillACell.story
|
115
|
+
- examples/stories/game-of-life/behaviour/stories/TheGridWraps.story
|
116
|
+
- examples/stories/game-of-life/behaviour/stories/create_a_cell.rb
|
117
|
+
- examples/stories/game-of-life/behaviour/stories/helper.rb
|
118
|
+
- examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb
|
119
|
+
- examples/stories/game-of-life/behaviour/stories/steps.rb
|
120
|
+
- examples/stories/game-of-life/behaviour/stories/stories.rb
|
121
|
+
- examples/stories/game-of-life/behaviour/stories/stories.txt
|
122
|
+
- examples/stories/game-of-life/life.rb
|
123
|
+
- examples/stories/game-of-life/life/game.rb
|
124
|
+
- examples/stories/game-of-life/life/grid.rb
|
125
|
+
- examples/stories/helper.rb
|
126
|
+
- examples/stories/steps/addition_steps.rb
|
127
|
+
- failing_examples/README.txt
|
128
|
+
- failing_examples/diffing_spec.rb
|
129
|
+
- failing_examples/failing_autogenerated_docstrings_example.rb
|
130
|
+
- failing_examples/failure_in_setup.rb
|
131
|
+
- failing_examples/failure_in_teardown.rb
|
132
|
+
- failing_examples/mocking_example.rb
|
133
|
+
- failing_examples/mocking_with_flexmock.rb
|
134
|
+
- failing_examples/mocking_with_mocha.rb
|
135
|
+
- failing_examples/mocking_with_rr.rb
|
136
|
+
- failing_examples/partial_mock_example.rb
|
137
|
+
- failing_examples/predicate_example.rb
|
138
|
+
- failing_examples/raising_example.rb
|
139
|
+
- failing_examples/spec_helper.rb
|
140
|
+
- failing_examples/syntax_error_example.rb
|
141
|
+
- failing_examples/team_spec.rb
|
142
|
+
- failing_examples/timeout_behaviour.rb
|
143
|
+
- init.rb
|
144
|
+
- lib/autotest/discover.rb
|
145
|
+
- lib/autotest/rspec.rb
|
146
|
+
- lib/spec.rb
|
147
|
+
- lib/spec/adapters.rb
|
148
|
+
- lib/spec/adapters/ruby_engine.rb
|
149
|
+
- lib/spec/adapters/ruby_engine/mri.rb
|
150
|
+
- lib/spec/adapters/ruby_engine/rubinius.rb
|
151
|
+
- lib/spec/example.rb
|
152
|
+
- lib/spec/example/before_and_after_hooks.rb
|
153
|
+
- lib/spec/example/configuration.rb
|
154
|
+
- lib/spec/example/errors.rb
|
155
|
+
- lib/spec/example/example_group.rb
|
156
|
+
- lib/spec/example/example_group_factory.rb
|
157
|
+
- lib/spec/example/example_group_methods.rb
|
158
|
+
- lib/spec/example/example_matcher.rb
|
159
|
+
- lib/spec/example/example_methods.rb
|
160
|
+
- lib/spec/example/module_reopening_fix.rb
|
161
|
+
- lib/spec/example/pending.rb
|
162
|
+
- lib/spec/example/shared_example_group.rb
|
163
|
+
- lib/spec/expectations.rb
|
164
|
+
- lib/spec/expectations/differs/default.rb
|
165
|
+
- lib/spec/expectations/errors.rb
|
166
|
+
- lib/spec/expectations/extensions.rb
|
167
|
+
- lib/spec/expectations/extensions/object.rb
|
168
|
+
- lib/spec/expectations/extensions/string_and_symbol.rb
|
169
|
+
- lib/spec/expectations/handler.rb
|
170
|
+
- lib/spec/extensions.rb
|
171
|
+
- lib/spec/extensions/class.rb
|
172
|
+
- lib/spec/extensions/main.rb
|
173
|
+
- lib/spec/extensions/metaclass.rb
|
174
|
+
- lib/spec/extensions/object.rb
|
175
|
+
- lib/spec/interop/test.rb
|
176
|
+
- lib/spec/interop/test/unit/autorunner.rb
|
177
|
+
- lib/spec/interop/test/unit/testcase.rb
|
178
|
+
- lib/spec/interop/test/unit/testresult.rb
|
179
|
+
- lib/spec/interop/test/unit/testsuite_adapter.rb
|
180
|
+
- lib/spec/interop/test/unit/ui/console/testrunner.rb
|
181
|
+
- lib/spec/matchers.rb
|
182
|
+
- lib/spec/matchers/be.rb
|
183
|
+
- lib/spec/matchers/be_close.rb
|
184
|
+
- lib/spec/matchers/change.rb
|
185
|
+
- lib/spec/matchers/eql.rb
|
186
|
+
- lib/spec/matchers/equal.rb
|
187
|
+
- lib/spec/matchers/exist.rb
|
188
|
+
- lib/spec/matchers/has.rb
|
189
|
+
- lib/spec/matchers/have.rb
|
190
|
+
- lib/spec/matchers/include.rb
|
191
|
+
- lib/spec/matchers/match.rb
|
192
|
+
- lib/spec/matchers/operator_matcher.rb
|
193
|
+
- lib/spec/matchers/raise_error.rb
|
194
|
+
- lib/spec/matchers/respond_to.rb
|
195
|
+
- lib/spec/matchers/satisfy.rb
|
196
|
+
- lib/spec/matchers/simple_matcher.rb
|
197
|
+
- lib/spec/matchers/throw_symbol.rb
|
198
|
+
- lib/spec/mocks.rb
|
199
|
+
- lib/spec/mocks/argument_constraints.rb
|
200
|
+
- lib/spec/mocks/argument_expectation.rb
|
201
|
+
- lib/spec/mocks/error_generator.rb
|
202
|
+
- lib/spec/mocks/errors.rb
|
203
|
+
- lib/spec/mocks/extensions.rb
|
204
|
+
- lib/spec/mocks/extensions/object.rb
|
205
|
+
- lib/spec/mocks/framework.rb
|
206
|
+
- lib/spec/mocks/message_expectation.rb
|
207
|
+
- lib/spec/mocks/methods.rb
|
208
|
+
- lib/spec/mocks/mock.rb
|
209
|
+
- lib/spec/mocks/order_group.rb
|
210
|
+
- lib/spec/mocks/proxy.rb
|
211
|
+
- lib/spec/mocks/space.rb
|
212
|
+
- lib/spec/mocks/spec_methods.rb
|
213
|
+
- lib/spec/rake/spectask.rb
|
214
|
+
- lib/spec/rake/verify_rcov.rb
|
215
|
+
- lib/spec/runner.rb
|
216
|
+
- lib/spec/runner/backtrace_tweaker.rb
|
217
|
+
- lib/spec/runner/class_and_arguments_parser.rb
|
218
|
+
- lib/spec/runner/command_line.rb
|
219
|
+
- lib/spec/runner/drb_command_line.rb
|
220
|
+
- lib/spec/runner/example_group_runner.rb
|
221
|
+
- lib/spec/runner/formatter/base_formatter.rb
|
222
|
+
- lib/spec/runner/formatter/base_text_formatter.rb
|
223
|
+
- lib/spec/runner/formatter/failing_example_groups_formatter.rb
|
224
|
+
- lib/spec/runner/formatter/failing_examples_formatter.rb
|
225
|
+
- lib/spec/runner/formatter/html_formatter.rb
|
226
|
+
- lib/spec/runner/formatter/nested_text_formatter.rb
|
227
|
+
- lib/spec/runner/formatter/profile_formatter.rb
|
228
|
+
- lib/spec/runner/formatter/progress_bar_formatter.rb
|
229
|
+
- lib/spec/runner/formatter/snippet_extractor.rb
|
230
|
+
- lib/spec/runner/formatter/specdoc_formatter.rb
|
231
|
+
- lib/spec/runner/formatter/story/html_formatter.rb
|
232
|
+
- lib/spec/runner/formatter/story/plain_text_formatter.rb
|
233
|
+
- lib/spec/runner/formatter/story/progress_bar_formatter.rb
|
234
|
+
- lib/spec/runner/formatter/text_mate_formatter.rb
|
235
|
+
- lib/spec/runner/heckle_runner.rb
|
236
|
+
- lib/spec/runner/heckle_runner_unsupported.rb
|
237
|
+
- lib/spec/runner/option_parser.rb
|
238
|
+
- lib/spec/runner/options.rb
|
239
|
+
- lib/spec/runner/reporter.rb
|
240
|
+
- lib/spec/runner/spec_parser.rb
|
241
|
+
- lib/spec/story.rb
|
242
|
+
- lib/spec/story/extensions.rb
|
243
|
+
- lib/spec/story/extensions/main.rb
|
244
|
+
- lib/spec/story/extensions/regexp.rb
|
245
|
+
- lib/spec/story/extensions/string.rb
|
246
|
+
- lib/spec/story/given_scenario.rb
|
247
|
+
- lib/spec/story/runner.rb
|
248
|
+
- lib/spec/story/runner/plain_text_story_runner.rb
|
249
|
+
- lib/spec/story/runner/scenario_collector.rb
|
250
|
+
- lib/spec/story/runner/scenario_runner.rb
|
251
|
+
- lib/spec/story/runner/story_mediator.rb
|
252
|
+
- lib/spec/story/runner/story_parser.rb
|
253
|
+
- lib/spec/story/runner/story_runner.rb
|
254
|
+
- lib/spec/story/scenario.rb
|
255
|
+
- lib/spec/story/step.rb
|
256
|
+
- lib/spec/story/step_group.rb
|
257
|
+
- lib/spec/story/step_mother.rb
|
258
|
+
- lib/spec/story/story.rb
|
259
|
+
- lib/spec/story/world.rb
|
260
|
+
- lib/spec/version.rb
|
261
|
+
- plugins/mock_frameworks/flexmock.rb
|
262
|
+
- plugins/mock_frameworks/mocha.rb
|
263
|
+
- plugins/mock_frameworks/rr.rb
|
264
|
+
- plugins/mock_frameworks/rspec.rb
|
265
|
+
- rake_tasks/examples.rake
|
266
|
+
- rake_tasks/examples_with_rcov.rake
|
267
|
+
- rake_tasks/failing_examples_with_html.rake
|
268
|
+
- rake_tasks/verify_rcov.rake
|
269
|
+
- rspec.gemspec
|
270
|
+
- spec/README.jruby
|
271
|
+
- spec/autotest/autotest_helper.rb
|
272
|
+
- spec/autotest/autotest_matchers.rb
|
273
|
+
- spec/autotest/discover_spec.rb
|
274
|
+
- spec/autotest/rspec_spec.rb
|
275
|
+
- spec/rspec_suite.rb
|
276
|
+
- spec/ruby_forker.rb
|
277
|
+
- spec/spec.opts
|
278
|
+
- spec/spec/adapters/ruby_engine_spec.rb
|
279
|
+
- spec/spec/example/configuration_spec.rb
|
280
|
+
- spec/spec/example/example_group_class_definition_spec.rb
|
281
|
+
- spec/spec/example/example_group_factory_spec.rb
|
282
|
+
- spec/spec/example/example_group_methods_spec.rb
|
283
|
+
- spec/spec/example/example_group_spec.rb
|
284
|
+
- spec/spec/example/example_matcher_spec.rb
|
285
|
+
- spec/spec/example/example_methods_spec.rb
|
286
|
+
- spec/spec/example/example_runner_spec.rb
|
287
|
+
- spec/spec/example/nested_example_group_spec.rb
|
288
|
+
- spec/spec/example/pending_module_spec.rb
|
289
|
+
- spec/spec/example/predicate_matcher_spec.rb
|
290
|
+
- spec/spec/example/shared_example_group_spec.rb
|
291
|
+
- spec/spec/example/subclassing_example_group_spec.rb
|
292
|
+
- spec/spec/expectations/differs/default_spec.rb
|
293
|
+
- spec/spec/expectations/extensions/object_spec.rb
|
294
|
+
- spec/spec/expectations/fail_with_spec.rb
|
295
|
+
- spec/spec/extensions/main_spec.rb
|
296
|
+
- spec/spec/interop/test/unit/resources/spec_that_fails.rb
|
297
|
+
- spec/spec/interop/test/unit/resources/spec_that_passes.rb
|
298
|
+
- spec/spec/interop/test/unit/resources/spec_with_errors.rb
|
299
|
+
- spec/spec/interop/test/unit/resources/spec_with_options_hash.rb
|
300
|
+
- spec/spec/interop/test/unit/resources/test_case_that_fails.rb
|
301
|
+
- spec/spec/interop/test/unit/resources/test_case_that_passes.rb
|
302
|
+
- spec/spec/interop/test/unit/resources/test_case_with_errors.rb
|
303
|
+
- spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb
|
304
|
+
- spec/spec/interop/test/unit/spec_spec.rb
|
305
|
+
- spec/spec/interop/test/unit/test_unit_spec_helper.rb
|
306
|
+
- spec/spec/interop/test/unit/testcase_spec.rb
|
307
|
+
- spec/spec/interop/test/unit/testsuite_adapter_spec.rb
|
308
|
+
- spec/spec/matchers/be_close_spec.rb
|
309
|
+
- spec/spec/matchers/be_spec.rb
|
310
|
+
- spec/spec/matchers/change_spec.rb
|
311
|
+
- spec/spec/matchers/description_generation_spec.rb
|
312
|
+
- spec/spec/matchers/eql_spec.rb
|
313
|
+
- spec/spec/matchers/equal_spec.rb
|
314
|
+
- spec/spec/matchers/exist_spec.rb
|
315
|
+
- spec/spec/matchers/handler_spec.rb
|
316
|
+
- spec/spec/matchers/has_spec.rb
|
317
|
+
- spec/spec/matchers/have_spec.rb
|
318
|
+
- spec/spec/matchers/include_spec.rb
|
319
|
+
- spec/spec/matchers/match_spec.rb
|
320
|
+
- spec/spec/matchers/matcher_methods_spec.rb
|
321
|
+
- spec/spec/matchers/mock_constraint_matchers_spec.rb
|
322
|
+
- spec/spec/matchers/operator_matcher_spec.rb
|
323
|
+
- spec/spec/matchers/raise_error_spec.rb
|
324
|
+
- spec/spec/matchers/respond_to_spec.rb
|
325
|
+
- spec/spec/matchers/satisfy_spec.rb
|
326
|
+
- spec/spec/matchers/simple_matcher_spec.rb
|
327
|
+
- spec/spec/matchers/throw_symbol_spec.rb
|
328
|
+
- spec/spec/mocks/any_number_of_times_spec.rb
|
329
|
+
- spec/spec/mocks/argument_expectation_spec.rb
|
330
|
+
- spec/spec/mocks/at_least_spec.rb
|
331
|
+
- spec/spec/mocks/at_most_spec.rb
|
332
|
+
- spec/spec/mocks/bug_report_10260_spec.rb
|
333
|
+
- spec/spec/mocks/bug_report_10263_spec.rb
|
334
|
+
- spec/spec/mocks/bug_report_11545_spec.rb
|
335
|
+
- spec/spec/mocks/bug_report_15719_spec.rb
|
336
|
+
- spec/spec/mocks/bug_report_496.rb
|
337
|
+
- spec/spec/mocks/bug_report_7611_spec.rb
|
338
|
+
- spec/spec/mocks/bug_report_7805_spec.rb
|
339
|
+
- spec/spec/mocks/bug_report_8165_spec.rb
|
340
|
+
- spec/spec/mocks/bug_report_8302_spec.rb
|
341
|
+
- spec/spec/mocks/failing_mock_argument_constraints_spec.rb
|
342
|
+
- spec/spec/mocks/hash_including_matcher_spec.rb
|
343
|
+
- spec/spec/mocks/mock_ordering_spec.rb
|
344
|
+
- spec/spec/mocks/mock_space_spec.rb
|
345
|
+
- spec/spec/mocks/mock_spec.rb
|
346
|
+
- spec/spec/mocks/multiple_return_value_spec.rb
|
347
|
+
- spec/spec/mocks/nil_expectation_warning_spec.rb
|
348
|
+
- spec/spec/mocks/null_object_mock_spec.rb
|
349
|
+
- spec/spec/mocks/once_counts_spec.rb
|
350
|
+
- spec/spec/mocks/options_hash_spec.rb
|
351
|
+
- spec/spec/mocks/partial_mock_spec.rb
|
352
|
+
- spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb
|
353
|
+
- spec/spec/mocks/passing_mock_argument_constraints_spec.rb
|
354
|
+
- spec/spec/mocks/precise_counts_spec.rb
|
355
|
+
- spec/spec/mocks/record_messages_spec.rb
|
356
|
+
- spec/spec/mocks/stub_spec.rb
|
357
|
+
- spec/spec/mocks/twice_counts_spec.rb
|
358
|
+
- spec/spec/package/bin_spec_spec.rb
|
359
|
+
- spec/spec/runner/class_and_argument_parser_spec.rb
|
360
|
+
- spec/spec/runner/command_line_spec.rb
|
361
|
+
- spec/spec/runner/drb_command_line_spec.rb
|
362
|
+
- spec/spec/runner/empty_file.txt
|
363
|
+
- spec/spec/runner/examples.txt
|
364
|
+
- spec/spec/runner/failed.txt
|
365
|
+
- spec/spec/runner/formatter/base_formatter_spec.rb
|
366
|
+
- spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb
|
367
|
+
- spec/spec/runner/formatter/failing_examples_formatter_spec.rb
|
368
|
+
- spec/spec/runner/formatter/html_formatted-1.8.4.html
|
369
|
+
- spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html
|
370
|
+
- spec/spec/runner/formatter/html_formatted-1.8.5.html
|
371
|
+
- spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html
|
372
|
+
- spec/spec/runner/formatter/html_formatted-1.8.6.html
|
373
|
+
- spec/spec/runner/formatter/html_formatter_spec.rb
|
374
|
+
- spec/spec/runner/formatter/nested_text_formatter_spec.rb
|
375
|
+
- spec/spec/runner/formatter/profile_formatter_spec.rb
|
376
|
+
- spec/spec/runner/formatter/progress_bar_formatter_spec.rb
|
377
|
+
- spec/spec/runner/formatter/snippet_extractor_spec.rb
|
378
|
+
- spec/spec/runner/formatter/spec_mate_formatter_spec.rb
|
379
|
+
- spec/spec/runner/formatter/specdoc_formatter_spec.rb
|
380
|
+
- spec/spec/runner/formatter/story/html_formatter_spec.rb
|
381
|
+
- spec/spec/runner/formatter/story/plain_text_formatter_spec.rb
|
382
|
+
- spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb
|
383
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.8.4.html
|
384
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.8.6.html
|
385
|
+
- spec/spec/runner/heckle_runner_spec.rb
|
386
|
+
- spec/spec/runner/heckler_spec.rb
|
387
|
+
- spec/spec/runner/noisy_backtrace_tweaker_spec.rb
|
388
|
+
- spec/spec/runner/option_parser_spec.rb
|
389
|
+
- spec/spec/runner/options_spec.rb
|
390
|
+
- spec/spec/runner/output_one_time_fixture.rb
|
391
|
+
- spec/spec/runner/output_one_time_fixture_runner.rb
|
392
|
+
- spec/spec/runner/output_one_time_spec.rb
|
393
|
+
- spec/spec/runner/quiet_backtrace_tweaker_spec.rb
|
394
|
+
- spec/spec/runner/reporter_spec.rb
|
395
|
+
- spec/spec/runner/resources/a_bar.rb
|
396
|
+
- spec/spec/runner/resources/a_foo.rb
|
397
|
+
- spec/spec/runner/resources/a_spec.rb
|
398
|
+
- spec/spec/runner/spec.opts
|
399
|
+
- spec/spec/runner/spec_drb.opts
|
400
|
+
- spec/spec/runner/spec_parser/spec_parser_fixture.rb
|
401
|
+
- spec/spec/runner/spec_parser_spec.rb
|
402
|
+
- spec/spec/runner/spec_spaced.opts
|
403
|
+
- spec/spec/runner_spec.rb
|
404
|
+
- spec/spec/spec_classes.rb
|
405
|
+
- spec/spec/story/builders.rb
|
406
|
+
- spec/spec/story/extensions/main_spec.rb
|
407
|
+
- spec/spec/story/extensions_spec.rb
|
408
|
+
- spec/spec/story/given_scenario_spec.rb
|
409
|
+
- spec/spec/story/runner/plain_text_story_runner_spec.rb
|
410
|
+
- spec/spec/story/runner/scenario_collector_spec.rb
|
411
|
+
- spec/spec/story/runner/scenario_runner_spec.rb
|
412
|
+
- spec/spec/story/runner/story_mediator_spec.rb
|
413
|
+
- spec/spec/story/runner/story_parser_spec.rb
|
414
|
+
- spec/spec/story/runner/story_runner_spec.rb
|
415
|
+
- spec/spec/story/runner_spec.rb
|
416
|
+
- spec/spec/story/scenario_spec.rb
|
417
|
+
- spec/spec/story/step_group_spec.rb
|
418
|
+
- spec/spec/story/step_mother_spec.rb
|
419
|
+
- spec/spec/story/step_spec.rb
|
420
|
+
- spec/spec/story/story_helper.rb
|
421
|
+
- spec/spec/story/story_spec.rb
|
422
|
+
- spec/spec/story/world_spec.rb
|
423
|
+
- spec/spec_helper.rb
|
424
|
+
- stories/all.rb
|
425
|
+
- stories/configuration/before_blocks.story
|
426
|
+
- stories/configuration/stories.rb
|
427
|
+
- stories/example_groups/autogenerated_docstrings
|
428
|
+
- stories/example_groups/example_group_with_should_methods
|
429
|
+
- stories/example_groups/nested_groups
|
430
|
+
- stories/example_groups/output
|
431
|
+
- stories/example_groups/stories.rb
|
432
|
+
- stories/helper.rb
|
433
|
+
- stories/interop/examples_and_tests_together
|
434
|
+
- stories/interop/stories.rb
|
435
|
+
- stories/interop/test_case_with_should_methods
|
436
|
+
- stories/mock_framework_integration/stories.rb
|
437
|
+
- stories/mock_framework_integration/use_flexmock.story
|
438
|
+
- stories/pending_stories/README
|
439
|
+
- stories/resources/helpers/cmdline.rb
|
440
|
+
- stories/resources/helpers/story_helper.rb
|
441
|
+
- stories/resources/matchers/smart_match.rb
|
442
|
+
- stories/resources/spec/before_blocks_example.rb
|
443
|
+
- stories/resources/spec/example_group_with_should_methods.rb
|
444
|
+
- stories/resources/spec/simple_spec.rb
|
445
|
+
- stories/resources/spec/spec_with_flexmock.rb
|
446
|
+
- stories/resources/steps/running_rspec.rb
|
447
|
+
- stories/resources/stories/failing_story.rb
|
448
|
+
- stories/resources/test/spec_and_test_together.rb
|
449
|
+
- stories/resources/test/test_case_with_should_methods.rb
|
450
|
+
- stories/stories/multiline_steps.story
|
451
|
+
- stories/stories/steps/multiline_steps.rb
|
452
|
+
- stories/stories/stories.rb
|
453
|
+
- story_server/prototype/javascripts/builder.js
|
454
|
+
- story_server/prototype/javascripts/controls.js
|
455
|
+
- story_server/prototype/javascripts/dragdrop.js
|
456
|
+
- story_server/prototype/javascripts/effects.js
|
457
|
+
- story_server/prototype/javascripts/prototype.js
|
458
|
+
- story_server/prototype/javascripts/rspec.js
|
459
|
+
- story_server/prototype/javascripts/scriptaculous.js
|
460
|
+
- story_server/prototype/javascripts/slider.js
|
461
|
+
- story_server/prototype/javascripts/sound.js
|
462
|
+
- story_server/prototype/javascripts/unittest.js
|
463
|
+
- story_server/prototype/lib/server.rb
|
464
|
+
- story_server/prototype/stories.html
|
465
|
+
- story_server/prototype/stylesheets/rspec.css
|
466
|
+
- story_server/prototype/stylesheets/test.css
|
467
|
+
has_rdoc: true
|
468
|
+
homepage: http://rspec.info/
|
469
|
+
post_install_message:
|
470
|
+
rdoc_options:
|
471
|
+
- --main
|
472
|
+
- README.txt
|
473
|
+
require_paths:
|
474
|
+
- lib
|
475
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
476
|
+
requirements:
|
477
|
+
- - ">="
|
478
|
+
- !ruby/object:Gem::Version
|
479
|
+
version: "0"
|
480
|
+
version:
|
481
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
482
|
+
requirements:
|
483
|
+
- - ">="
|
484
|
+
- !ruby/object:Gem::Version
|
485
|
+
version: "0"
|
486
|
+
version:
|
487
|
+
requirements: []
|
488
|
+
|
489
|
+
rubyforge_project: rspec
|
490
|
+
rubygems_version: 1.2.0
|
491
|
+
signing_key:
|
492
|
+
specification_version: 2
|
493
|
+
summary: rspec 1.1.10
|
494
|
+
test_files: []
|
495
|
+
|