has_finder 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. data/History.txt +5 -1
  2. data/lib/has_finder/has_finder.rb +8 -6
  3. data/lib/has_finder/version.rb +1 -1
  4. metadata +3 -433
  5. data/Manifest.txt +0 -431
  6. data/log/debug.log +0 -0
  7. data/nbproject/private/private.xml +0 -4
  8. data/nbproject/private/rake-t.txt +0 -1
  9. data/nbproject/project.properties +0 -4
  10. data/nbproject/project.xml +0 -15
  11. data/script/destroy +0 -14
  12. data/script/generate +0 -14
  13. data/spec/rails/README +0 -182
  14. data/spec/rails/Rakefile +0 -10
  15. data/spec/rails/app/controllers/application.rb +0 -7
  16. data/spec/rails/app/helpers/application_helper.rb +0 -3
  17. data/spec/rails/app/models/being.rb +0 -3
  18. data/spec/rails/config/boot.rb +0 -45
  19. data/spec/rails/config/database.yml +0 -36
  20. data/spec/rails/config/environment.rb +0 -62
  21. data/spec/rails/config/environments/development.rb +0 -21
  22. data/spec/rails/config/environments/production.rb +0 -18
  23. data/spec/rails/config/environments/test.rb +0 -19
  24. data/spec/rails/config/routes.rb +0 -23
  25. data/spec/rails/db/migrate/001_create_beings.rb +0 -13
  26. data/spec/rails/db/schema.rb +0 -18
  27. data/spec/rails/doc/README_FOR_APP +0 -2
  28. data/spec/rails/log/development.log +0 -432
  29. data/spec/rails/log/production.log +0 -0
  30. data/spec/rails/log/server.log +0 -0
  31. data/spec/rails/log/test.log +0 -18425
  32. data/spec/rails/nbproject/private/config.properties +0 -0
  33. data/spec/rails/nbproject/private/private.properties +0 -1
  34. data/spec/rails/nbproject/private/rake-t.txt +0 -54
  35. data/spec/rails/nbproject/project.properties +0 -4
  36. data/spec/rails/nbproject/project.xml +0 -9
  37. data/spec/rails/previous_failures.txt +0 -0
  38. data/spec/rails/public/404.html +0 -30
  39. data/spec/rails/public/500.html +0 -30
  40. data/spec/rails/public/dispatch.cgi +0 -10
  41. data/spec/rails/public/dispatch.fcgi +0 -24
  42. data/spec/rails/public/dispatch.rb +0 -10
  43. data/spec/rails/public/favicon.ico +0 -0
  44. data/spec/rails/public/images/rails.png +0 -0
  45. data/spec/rails/public/index.html +0 -277
  46. data/spec/rails/public/javascripts/application.js +0 -2
  47. data/spec/rails/public/javascripts/controls.js +0 -833
  48. data/spec/rails/public/javascripts/dragdrop.js +0 -942
  49. data/spec/rails/public/javascripts/effects.js +0 -1088
  50. data/spec/rails/public/javascripts/prototype.js +0 -2515
  51. data/spec/rails/public/robots.txt +0 -1
  52. data/spec/rails/script/about +0 -3
  53. data/spec/rails/script/breakpointer +0 -3
  54. data/spec/rails/script/console +0 -3
  55. data/spec/rails/script/destroy +0 -3
  56. data/spec/rails/script/generate +0 -3
  57. data/spec/rails/script/performance/benchmarker +0 -3
  58. data/spec/rails/script/performance/profiler +0 -3
  59. data/spec/rails/script/plugin +0 -3
  60. data/spec/rails/script/process/inspector +0 -3
  61. data/spec/rails/script/process/reaper +0 -3
  62. data/spec/rails/script/process/spawner +0 -3
  63. data/spec/rails/script/runner +0 -3
  64. data/spec/rails/script/server +0 -3
  65. data/spec/rails/script/spec +0 -4
  66. data/spec/rails/script/spec_server +0 -45
  67. data/spec/rails/spec/fixtures/beings.yml +0 -20
  68. data/spec/rails/spec/models/being_spec.rb +0 -107
  69. data/spec/rails/spec/spec.opts +0 -6
  70. data/spec/rails/spec/spec_helper.rb +0 -15
  71. data/spec/rails/test/test_helper.rb +0 -28
  72. data/spec/rails/tmp/sessions/ruby_sess.5edc9bf3b65456d0 +0 -0
  73. data/spec/rails/vendor/plugins/rspec/CHANGES +0 -797
  74. data/spec/rails/vendor/plugins/rspec/MIT-LICENSE +0 -20
  75. data/spec/rails/vendor/plugins/rspec/README +0 -70
  76. data/spec/rails/vendor/plugins/rspec/Rakefile +0 -304
  77. data/spec/rails/vendor/plugins/rspec/UPGRADE +0 -31
  78. data/spec/rails/vendor/plugins/rspec/bin/spec +0 -3
  79. data/spec/rails/vendor/plugins/rspec/bin/spec_translator +0 -8
  80. data/spec/rails/vendor/plugins/rspec/examples/auto_spec_description_example.rb +0 -19
  81. data/spec/rails/vendor/plugins/rspec/examples/before_and_after_example.rb +0 -39
  82. data/spec/rails/vendor/plugins/rspec/examples/behave_as_example.rb +0 -45
  83. data/spec/rails/vendor/plugins/rspec/examples/custom_expectation_matchers.rb +0 -54
  84. data/spec/rails/vendor/plugins/rspec/examples/custom_formatter.rb +0 -11
  85. data/spec/rails/vendor/plugins/rspec/examples/dynamic_spec.rb +0 -9
  86. data/spec/rails/vendor/plugins/rspec/examples/file_accessor.rb +0 -18
  87. data/spec/rails/vendor/plugins/rspec/examples/file_accessor_spec.rb +0 -38
  88. data/spec/rails/vendor/plugins/rspec/examples/greeter_spec.rb +0 -30
  89. data/spec/rails/vendor/plugins/rspec/examples/helper_method_example.rb +0 -11
  90. data/spec/rails/vendor/plugins/rspec/examples/io_processor.rb +0 -8
  91. data/spec/rails/vendor/plugins/rspec/examples/io_processor_spec.rb +0 -21
  92. data/spec/rails/vendor/plugins/rspec/examples/legacy_spec.rb +0 -10
  93. data/spec/rails/vendor/plugins/rspec/examples/mocking_example.rb +0 -27
  94. data/spec/rails/vendor/plugins/rspec/examples/multi_threaded_behaviour_runner.rb +0 -25
  95. data/spec/rails/vendor/plugins/rspec/examples/not_yet_implemented_spec.rb +0 -12
  96. data/spec/rails/vendor/plugins/rspec/examples/partial_mock_example.rb +0 -28
  97. data/spec/rails/vendor/plugins/rspec/examples/predicate_example.rb +0 -27
  98. data/spec/rails/vendor/plugins/rspec/examples/priority.txt +0 -1
  99. data/spec/rails/vendor/plugins/rspec/examples/shared_behaviours_example.rb +0 -39
  100. data/spec/rails/vendor/plugins/rspec/examples/spec_helper.rb +0 -1
  101. data/spec/rails/vendor/plugins/rspec/examples/stack.rb +0 -36
  102. data/spec/rails/vendor/plugins/rspec/examples/stack_spec.rb +0 -97
  103. data/spec/rails/vendor/plugins/rspec/examples/stubbing_example.rb +0 -69
  104. data/spec/rails/vendor/plugins/rspec/examples/test_case_adapter_example.rb +0 -26
  105. data/spec/rails/vendor/plugins/rspec/examples/test_case_spec.rb +0 -65
  106. data/spec/rails/vendor/plugins/rspec/failing_examples/diffing_spec.rb +0 -36
  107. data/spec/rails/vendor/plugins/rspec/failing_examples/failure_in_setup.rb +0 -10
  108. data/spec/rails/vendor/plugins/rspec/failing_examples/failure_in_teardown.rb +0 -10
  109. data/spec/rails/vendor/plugins/rspec/failing_examples/mocking_example.rb +0 -33
  110. data/spec/rails/vendor/plugins/rspec/failing_examples/mocking_with_flexmock.rb +0 -26
  111. data/spec/rails/vendor/plugins/rspec/failing_examples/mocking_with_mocha.rb +0 -25
  112. data/spec/rails/vendor/plugins/rspec/failing_examples/partial_mock_example.rb +0 -20
  113. data/spec/rails/vendor/plugins/rspec/failing_examples/predicate_example.rb +0 -29
  114. data/spec/rails/vendor/plugins/rspec/failing_examples/raising_example.rb +0 -47
  115. data/spec/rails/vendor/plugins/rspec/failing_examples/spec_helper.rb +0 -1
  116. data/spec/rails/vendor/plugins/rspec/failing_examples/syntax_error_example.rb +0 -7
  117. data/spec/rails/vendor/plugins/rspec/failing_examples/team_spec.rb +0 -46
  118. data/spec/rails/vendor/plugins/rspec/failing_examples/timeout_behaviour.rb +0 -7
  119. data/spec/rails/vendor/plugins/rspec/init.rb +0 -3
  120. data/spec/rails/vendor/plugins/rspec/lib/autotest/discover.rb +0 -3
  121. data/spec/rails/vendor/plugins/rspec/lib/autotest/rspec.rb +0 -67
  122. data/spec/rails/vendor/plugins/rspec/lib/spec.rb +0 -13
  123. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl.rb +0 -10
  124. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/behaviour.rb +0 -210
  125. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/behaviour_callbacks.rb +0 -78
  126. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/behaviour_eval.rb +0 -220
  127. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/behaviour_factory.rb +0 -42
  128. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/composite_proc_builder.rb +0 -28
  129. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/configuration.rb +0 -119
  130. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/description.rb +0 -69
  131. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/example.rb +0 -127
  132. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/example_matcher.rb +0 -40
  133. data/spec/rails/vendor/plugins/rspec/lib/spec/dsl/example_should_raise_handler.rb +0 -74
  134. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations.rb +0 -56
  135. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations/differs/default.rb +0 -61
  136. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations/errors.rb +0 -6
  137. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations/extensions.rb +0 -2
  138. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations/extensions/object.rb +0 -66
  139. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations/extensions/string_and_symbol.rb +0 -17
  140. data/spec/rails/vendor/plugins/rspec/lib/spec/expectations/handler.rb +0 -43
  141. data/spec/rails/vendor/plugins/rspec/lib/spec/extensions.rb +0 -1
  142. data/spec/rails/vendor/plugins/rspec/lib/spec/extensions/object.rb +0 -6
  143. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers.rb +0 -166
  144. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/be.rb +0 -206
  145. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/be_close.rb +0 -37
  146. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/change.rb +0 -120
  147. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/eql.rb +0 -43
  148. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/equal.rb +0 -43
  149. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/has.rb +0 -44
  150. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/have.rb +0 -145
  151. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/include.rb +0 -70
  152. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/match.rb +0 -41
  153. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb +0 -72
  154. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/raise_error.rb +0 -100
  155. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/respond_to.rb +0 -45
  156. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/satisfy.rb +0 -47
  157. data/spec/rails/vendor/plugins/rspec/lib/spec/matchers/throw_symbol.rb +0 -72
  158. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks.rb +0 -208
  159. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/argument_constraint_matchers.rb +0 -27
  160. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/argument_expectation.rb +0 -183
  161. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/error_generator.rb +0 -84
  162. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/errors.rb +0 -10
  163. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/extensions/object.rb +0 -3
  164. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/message_expectation.rb +0 -231
  165. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/methods.rb +0 -35
  166. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/mock.rb +0 -29
  167. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/order_group.rb +0 -29
  168. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/proxy.rb +0 -163
  169. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/space.rb +0 -28
  170. data/spec/rails/vendor/plugins/rspec/lib/spec/mocks/spec_methods.rb +0 -30
  171. data/spec/rails/vendor/plugins/rspec/lib/spec/rake/spectask.rb +0 -175
  172. data/spec/rails/vendor/plugins/rspec/lib/spec/rake/verify_rcov.rb +0 -52
  173. data/spec/rails/vendor/plugins/rspec/lib/spec/runner.rb +0 -165
  174. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/backtrace_tweaker.rb +0 -56
  175. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb +0 -102
  176. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/command_line.rb +0 -22
  177. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/drb_command_line.rb +0 -21
  178. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/extensions/kernel.rb +0 -50
  179. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/extensions/object.rb +0 -32
  180. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter.rb +0 -9
  181. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/base_formatter.rb +0 -68
  182. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb +0 -102
  183. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/failing_behaviours_formatter.rb +0 -25
  184. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/failing_examples_formatter.rb +0 -22
  185. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/html_formatter.rb +0 -316
  186. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb +0 -30
  187. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/rdoc_formatter.rb +0 -24
  188. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/snippet_extractor.rb +0 -52
  189. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/formatter/specdoc_formatter.rb +0 -28
  190. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb +0 -72
  191. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/heckle_runner_unsupported.rb +0 -10
  192. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/option_parser.rb +0 -226
  193. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/options.rb +0 -158
  194. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/reporter.rb +0 -114
  195. data/spec/rails/vendor/plugins/rspec/lib/spec/runner/spec_parser.rb +0 -50
  196. data/spec/rails/vendor/plugins/rspec/lib/spec/test_case_adapter.rb +0 -10
  197. data/spec/rails/vendor/plugins/rspec/lib/spec/translator.rb +0 -106
  198. data/spec/rails/vendor/plugins/rspec/lib/spec/version.rb +0 -22
  199. data/spec/rails/vendor/plugins/rspec/plugins/mock_frameworks/flexmock.rb +0 -27
  200. data/spec/rails/vendor/plugins/rspec/plugins/mock_frameworks/mocha.rb +0 -21
  201. data/spec/rails/vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb +0 -18
  202. data/spec/rails/vendor/plugins/rspec/rake_tasks/examples.rake +0 -7
  203. data/spec/rails/vendor/plugins/rspec/rake_tasks/examples_specdoc.rake +0 -9
  204. data/spec/rails/vendor/plugins/rspec/rake_tasks/examples_with_rcov.rake +0 -9
  205. data/spec/rails/vendor/plugins/rspec/rake_tasks/failing_examples_with_html.rake +0 -9
  206. data/spec/rails/vendor/plugins/rspec/rake_tasks/verify_rcov.rake +0 -7
  207. data/spec/rails/vendor/plugins/rspec/spec.opts +0 -13
  208. data/spec/rails/vendor/plugins/rspec/spec/README.jruby +0 -14
  209. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/behaviour_eval_spec.rb +0 -49
  210. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/behaviour_factory_spec.rb +0 -30
  211. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/behaviour_spec.rb +0 -624
  212. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/composite_proc_builder_spec.rb +0 -57
  213. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/configuration_spec.rb +0 -50
  214. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/description_spec.rb +0 -81
  215. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/example_class_spec.rb +0 -24
  216. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/example_instance_spec.rb +0 -162
  217. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/example_should_raise_spec.rb +0 -137
  218. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/predicate_matcher_spec.rb +0 -21
  219. data/spec/rails/vendor/plugins/rspec/spec/spec/dsl/shared_behaviour_spec.rb +0 -228
  220. data/spec/rails/vendor/plugins/rspec/spec/spec/expectations/differs/default_spec.rb +0 -107
  221. data/spec/rails/vendor/plugins/rspec/spec/spec/expectations/extensions/object_spec.rb +0 -46
  222. data/spec/rails/vendor/plugins/rspec/spec/spec/expectations/fail_with_spec.rb +0 -71
  223. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/be_close_spec.rb +0 -39
  224. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/be_spec.rb +0 -209
  225. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/change_spec.rb +0 -232
  226. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/description_generation_spec.rb +0 -159
  227. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/eql_spec.rb +0 -28
  228. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/equal_spec.rb +0 -28
  229. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/exist_spec.rb +0 -48
  230. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/handler_spec.rb +0 -88
  231. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/has_spec.rb +0 -37
  232. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/have_spec.rb +0 -272
  233. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/include_spec.rb +0 -45
  234. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/match_spec.rb +0 -37
  235. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/matcher_methods_spec.rb +0 -78
  236. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/mock_constraint_matchers_spec.rb +0 -24
  237. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/operator_matcher_spec.rb +0 -158
  238. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/raise_error_spec.rb +0 -147
  239. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/respond_to_spec.rb +0 -54
  240. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/satisfy_spec.rb +0 -36
  241. data/spec/rails/vendor/plugins/rspec/spec/spec/matchers/throw_symbol_spec.rb +0 -51
  242. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/any_number_of_times_spec.rb +0 -29
  243. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/argument_expectation_spec.rb +0 -19
  244. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/at_least_spec.rb +0 -97
  245. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/at_most_spec.rb +0 -93
  246. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/bug_report_10260_spec.rb +0 -8
  247. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/bug_report_7611_spec.rb +0 -19
  248. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/bug_report_7805_spec.rb +0 -22
  249. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/bug_report_8165_spec.rb +0 -31
  250. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/bug_report_8302_spec.rb +0 -26
  251. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +0 -114
  252. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/mock_ordering_spec.rb +0 -84
  253. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/mock_space_spec.rb +0 -54
  254. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/mock_spec.rb +0 -377
  255. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/multiple_return_value_spec.rb +0 -113
  256. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/null_object_mock_spec.rb +0 -40
  257. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/once_counts_spec.rb +0 -53
  258. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/options_hash_spec.rb +0 -33
  259. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/partial_mock_spec.rb +0 -52
  260. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +0 -66
  261. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +0 -148
  262. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/precise_counts_spec.rb +0 -52
  263. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/record_messages_spec.rb +0 -26
  264. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/stub_spec.rb +0 -159
  265. data/spec/rails/vendor/plugins/rspec/spec/spec/mocks/twice_counts_spec.rb +0 -67
  266. data/spec/rails/vendor/plugins/rspec/spec/spec/package/bin_spec_spec.rb +0 -12
  267. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/behaviour_runner_spec.rb +0 -206
  268. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/command_line_spec.rb +0 -33
  269. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/context_matching_spec.rb +0 -27
  270. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/drb_command_line_spec.rb +0 -81
  271. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/empty_file.txt +0 -0
  272. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/example_matcher_spec.rb +0 -127
  273. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/examples.txt +0 -2
  274. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/execution_context_spec.rb +0 -31
  275. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/extensions/kernel_spec.rb +0 -36
  276. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/failed.txt +0 -3
  277. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/failing_behaviours_formatter_spec.rb +0 -27
  278. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/failing_examples_formatter_spec.rb +0 -28
  279. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.4.html +0 -333
  280. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html +0 -344
  281. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.5.html +0 -338
  282. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.6.html +0 -338
  283. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatter_spec.rb +0 -56
  284. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_dry_run_spec.rb +0 -21
  285. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_failure_dump_spec.rb +0 -36
  286. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +0 -78
  287. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb +0 -19
  288. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/rdoc_formatter_spec.rb +0 -46
  289. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/snippet_extractor_spec.rb +0 -11
  290. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/specdoc_formatter_dry_run_spec.rb +0 -21
  291. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/formatter/specdoc_formatter_spec.rb +0 -56
  292. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/heckle_runner_spec.rb +0 -63
  293. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb +0 -14
  294. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +0 -45
  295. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/object_ext_spec.rb +0 -11
  296. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/option_parser_spec.rb +0 -348
  297. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/options_spec.rb +0 -142
  298. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +0 -56
  299. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/reporter_spec.rb +0 -153
  300. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/spec.opts +0 -2
  301. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/spec_parser_spec.rb +0 -93
  302. data/spec/rails/vendor/plugins/rspec/spec/spec/runner/spec_spaced.opts +0 -2
  303. data/spec/rails/vendor/plugins/rspec/spec/spec/spec_classes.rb +0 -111
  304. data/spec/rails/vendor/plugins/rspec/spec/spec/translator_spec.rb +0 -216
  305. data/spec/rails/vendor/plugins/rspec/spec/spec_helper.rb +0 -43
  306. data/spec/rails/vendor/plugins/rspec_on_rails/MIT-LICENSE +0 -31
  307. data/spec/rails/vendor/plugins/rspec_on_rails/README +0 -1
  308. data/spec/rails/vendor/plugins/rspec_on_rails/Rakefile +0 -9
  309. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/CHANGES +0 -1
  310. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/rspec_generator.rb +0 -31
  311. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/templates/previous_failures.txt +0 -0
  312. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec +0 -4
  313. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec_server +0 -45
  314. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec.opts +0 -6
  315. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec_helper.rb +0 -26
  316. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/USAGE +0 -33
  317. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/rspec_controller_generator.rb +0 -42
  318. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/controller_spec.rb +0 -23
  319. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb +0 -11
  320. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb +0 -12
  321. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_model/USAGE +0 -18
  322. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_model/rspec_model_generator.rb +0 -30
  323. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_model/templates/model_spec.rb +0 -11
  324. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/rspec_scaffold_generator.rb +0 -161
  325. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/controller_spec.rb +0 -303
  326. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/edit_erb_spec.rb +0 -25
  327. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb +0 -4
  328. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/index_erb_spec.rb +0 -22
  329. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/new_erb_spec.rb +0 -26
  330. data/spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/show_erb_spec.rb +0 -22
  331. data/spec/rails/vendor/plugins/rspec_on_rails/init.rb +0 -9
  332. data/spec/rails/vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb +0 -81
  333. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/dsl.rb +0 -2
  334. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/dsl/configuration.rb +0 -23
  335. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/matchers.rb +0 -3
  336. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/matchers/have.rb +0 -12
  337. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails.rb +0 -57
  338. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl.rb +0 -40
  339. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/assigns_hash_proxy.rb +0 -42
  340. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour.rb +0 -8
  341. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/base.rb +0 -82
  342. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/controller.rb +0 -246
  343. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/functional.rb +0 -90
  344. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/helper.rb +0 -100
  345. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/model.rb +0 -21
  346. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/view.rb +0 -185
  347. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/ivar_proxy.rb +0 -62
  348. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions.rb +0 -7
  349. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/base.rb +0 -11
  350. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/rescue.rb +0 -10
  351. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb +0 -5
  352. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_view/base.rb +0 -26
  353. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/active_record/base.rb +0 -29
  354. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb +0 -5
  355. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers.rb +0 -29
  356. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/assert_select.rb +0 -131
  357. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb +0 -55
  358. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/redirect_to.rb +0 -106
  359. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/render_template.rb +0 -63
  360. data/spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb +0 -26
  361. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/assigns_hash_proxy_spec.rb +0 -55
  362. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/behaviour_factory_spec.rb +0 -53
  363. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/controller_isolation_spec.rb +0 -43
  364. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/controller_spec_spec.rb +0 -124
  365. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/helper_spec_spec.rb +0 -62
  366. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/ivar_proxy_spec.rb +0 -64
  367. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/model_spec_spec.rb +0 -14
  368. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/shared_behaviour_spec.rb +0 -16
  369. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/test_unit_assertion_accessibility_spec.rb +0 -28
  370. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/dsl/view_spec_spec.rb +0 -165
  371. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/extensions/active_record_spec.rb +0 -17
  372. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/matchers/assert_select_spec.rb +0 -718
  373. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/matchers/description_generation_spec.rb +0 -42
  374. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/matchers/redirect_to_spec.rb +0 -183
  375. data/spec/rails/vendor/plugins/rspec_on_rails/spec/rails/matchers/render_spec.rb +0 -112
  376. data/spec/rails/vendor/plugins/rspec_on_rails/spec/spec_helper.rb +0 -40
  377. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/controller_spec_controller.rb +0 -36
  378. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/redirect_spec_controller.rb +0 -59
  379. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/render_spec_controller.rb +0 -18
  380. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/rjs_spec_controller.rb +0 -58
  381. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb +0 -10
  382. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/helpers/more_explicit_helper.rb +0 -5
  383. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/helpers/plugin_application_helper.rb +0 -6
  384. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/helpers/view_spec_helper.rb +0 -13
  385. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/_a_partial.rhtml +0 -0
  386. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_flash_after_session_reset.rhtml +0 -1
  387. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_flash_before_session_reset.rhtml +0 -1
  388. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_the_assigns_hash.rhtml +0 -0
  389. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_with_errors_in_template.rhtml +0 -1
  390. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_with_template.rhtml +0 -1
  391. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/_a_partial.rhtml +0 -0
  392. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.js.rjs +0 -1
  393. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.rhtml +0 -0
  394. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.rjs +0 -1
  395. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/_replacement_partial.rhtml +0 -1
  396. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/hide_div.rjs +0 -1
  397. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/hide_page_element.rjs +0 -1
  398. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/insert_html.rjs +0 -1
  399. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace.rjs +0 -1
  400. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace_html.rjs +0 -1
  401. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace_html_with_partial.rjs +0 -1
  402. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/visual_effect.rjs +0 -1
  403. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/visual_toggle_effect.rjs +0 -1
  404. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/no_tags.rhtml +0 -1
  405. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/single_div_with_no_attributes.rhtml +0 -1
  406. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/single_div_with_one_attribute.rhtml +0 -1
  407. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_included_partial.rhtml +0 -2
  408. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_included_partial_collection_with_spacer_template.rhtml +0 -1
  409. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_with_local_variable.rhtml +0 -1
  410. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_spacer.rhtml +0 -1
  411. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/accessor.rhtml +0 -3
  412. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/entry_form.rhtml +0 -2
  413. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/explicit_helper.rhtml +0 -2
  414. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/multiple_helpers.rhtml +0 -3
  415. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/partial_collection_including_template.rhtml +0 -2
  416. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/partial_including_template.rhtml +0 -2
  417. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/partial_with_array.rhtml +0 -1
  418. data/spec/rails/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/show.rhtml +0 -2
  419. data/spec/rails/vendor/plugins/rspec_on_rails/tasks/rspec.rake +0 -90
  420. data/tasks/deployment.rake +0 -27
  421. data/tasks/environment.rake +0 -7
  422. data/tasks/website.rake +0 -9
@@ -1 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/about'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/breakpointer'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/console'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/destroy'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/generate'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/performance/benchmarker'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/performance/profiler'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/plugin'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/process/inspector'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/process/reaper'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/process/spawner'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/runner'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/server'
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/rspec/lib"))
3
- require 'spec'
4
- ::Spec::Runner::CommandLine.run(ARGV, STDERR, STDOUT, true, true)
@@ -1,45 +0,0 @@
1
- #!/usr/bin/env ruby
2
- $LOAD_PATH.unshift File.dirname(__FILE__) + '/../../rspec/lib' # For svn
3
- $LOAD_PATH.unshift File.dirname(__FILE__) + '/../vendor/plugins/rspec/lib' # For rspec installed as plugin
4
- require 'rubygems'
5
- require 'drb/drb'
6
- require 'rbconfig'
7
- require 'spec'
8
-
9
- # This is based on Florian Weber's TDDMate
10
-
11
- module Spec
12
- module Runner
13
- class RailsSpecServer
14
- def run(args, stderr, stdout)
15
- $stdout = stdout
16
- $stderr = stderr
17
-
18
- ::Dispatcher.reset_application!
19
- ::Dependencies.mechanism = :load
20
- require_dependency('application.rb') unless Object.const_defined?(:ApplicationController)
21
- load File.dirname(__FILE__) + '/../spec/spec_helper.rb'
22
-
23
- ::Spec::Runner::CommandLine.run(args, stderr, stdout, false, true)
24
- end
25
- end
26
- end
27
- end
28
- puts "Loading Rails environment"
29
-
30
- ENV["RAILS_ENV"] = "test"
31
- require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
32
- require 'dispatcher'
33
-
34
- def restart_test_server
35
- puts "restarting"
36
- config = ::Config::CONFIG
37
- ruby = File::join(config['bindir'], config['ruby_install_name']) + config['EXEEXT']
38
- command_line = [ruby, $0, ARGV].flatten.join(' ')
39
- exec(command_line)
40
- end
41
-
42
- trap("USR2") { restart_test_server } if Signal.list.has_key?("USR2")
43
- puts "Ready"
44
- DRb.start_service("druby://localhost:8989", Spec::Runner::RailsSpecServer.new)
45
- DRb.thread.join
@@ -1,20 +0,0 @@
1
- socrates:
2
- id: 1
3
- country: greece
4
- race: mortal
5
- type:
6
- xerxes:
7
- id: 2
8
- country: persia
9
- race: mortal
10
- type:
11
- zeus:
12
- id: 3
13
- country: greece
14
- race: divine
15
- type:
16
- monkey:
17
- id: 4
18
- country: africa
19
- race:
20
- type: BeingSubclass
@@ -1,107 +0,0 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
2
-
3
- module NamedExtension
4
- def one
5
- 1
6
- end
7
- end
8
-
9
- class Being < ActiveRecord::Base
10
- has_finder :all
11
- has_finder :greeks, :conditions => {:country => 'greece'}
12
- has_finder :mortals, :conditions => {:race => 'mortal'}
13
- has_finder :located_in, lambda {|country| { :conditions => {:country => country } } }
14
- has_finder :anonymous_extension do
15
- def one
16
- 1
17
- end
18
- end
19
- has_finder :named_extension, :extend => NamedExtension
20
- has_finder :both_named_and_anonymous_extension, :extend => NamedExtension do
21
- def two
22
- 2
23
- end
24
- end
25
- end
26
-
27
- class BeingSubclass < Being
28
- end
29
-
30
- class Property < ActiveRecord::Base
31
- has_finder :starts_with, lambda {|l| { :conditions => "name LIKE '#{l}%'" } }
32
- end
33
-
34
- describe Being, 'active record behavior' do
35
- it "should reload when told" do
36
- original_being_size = Being.all.size
37
- Being.create
38
- Being.all.reload.size.should == original_being_size + 1
39
- end
40
- end
41
-
42
- describe Being, 'method missing' do
43
- it "should pass active record messages back to the base class" do
44
- Being.all.find(:all).should == Being.find(:all)
45
- Being.all.find(:first).should == Being.find(:first)
46
- Being.all.count.should == Being.count
47
- Being.all.average(:id).should == Being.average(:id)
48
- end
49
-
50
- it "should pass everything else (equality, enumerability, etc.) to a local result set" do
51
- Being.all.should == Being.find(:all)
52
- Being.all.collect.should == Being.find(:all)
53
- Being.all.each {|i| i}.should == Being.find(:all)
54
- end
55
- end
56
-
57
- describe BeingSubclass do
58
- it "should inherit has_finders from superclass" do
59
- BeingSubclass.all.find(:all).should == BeingSubclass.find(:all)
60
- end
61
- end
62
-
63
- describe Being, 'has_finder with options' do
64
- it "should scope basic finding to active record messages to the supplied options" do
65
- Being.greeks.should == [beings(:socrates), beings(:zeus)]
66
- Being.mortals.should == [beings(:socrates), beings(:xerxes)]
67
- end
68
-
69
- it "should scope all active record messages" do
70
- Being.greeks.find(:first).should == beings(:socrates)
71
- end
72
-
73
- it "should allow composition of finders" do
74
- Being.greeks.mortals.should == [beings(:socrates)]
75
- end
76
- end
77
-
78
- describe Being, 'has_finder with procedural options' do
79
- it "should use evaluated procedure as the scope options" do
80
- Being.located_in('greece').should == [beings(:socrates), beings(:zeus)]
81
- Being.located_in('greece').find(:first).should == beings(:socrates)
82
- end
83
- end
84
-
85
- describe Being, 'supports extensions' do
86
- it "should support inline (anonymous) extensions" do
87
- Being.anonymous_extension.one.should == 1
88
- end
89
-
90
- it "should support named extensions" do
91
- Being.named_extension.one.should == 1
92
- end
93
-
94
- it "should support named extensions and anonymous extensions simultaneously" do
95
- Being.both_named_and_anonymous_extension.one.should == 1
96
- Being.both_named_and_anonymous_extension.two.should == 2
97
- end
98
-
99
- end
100
-
101
- describe Being, 'has many associations work with finders' do
102
- it "should scope finder to association proxy scope" do
103
- Property.starts_with('r').should == [properties(:red), properties(:royal), properties(:rasberry)]
104
- beings(:xerxes).properties.should == [properties(:red), properties(:royal), properties(:quixotic)]
105
- beings(:xerxes).properties.starts_with('r').should == [properties(:red), properties(:royal)]
106
- end
107
- end
@@ -1,6 +0,0 @@
1
- --colour
2
- --format
3
- progress
4
- --loadby
5
- mtime
6
- --reverse
@@ -1,15 +0,0 @@
1
- # This file is copied to ~/spec when you run 'ruby script/generate rspec'
2
- # from the project root directory.
3
- ENV["RAILS_ENV"] ||= "test"
4
- require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
5
- require 'spec/rails'
6
-
7
- Spec::Runner.configure do |config|
8
- config.use_transactional_fixtures = true
9
- config.use_instantiated_fixtures = false
10
- config.fixture_path = RAILS_ROOT + '/spec/fixtures'
11
- config.before(:each, :behaviour_type => :controller) do
12
- raise_controller_errors
13
- end
14
- config.global_fixtures = [:beings, :properties]
15
- end
@@ -1,28 +0,0 @@
1
- ENV["RAILS_ENV"] = "test"
2
- require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
3
- require 'test_help'
4
-
5
- class Test::Unit::TestCase
6
- # Transactional fixtures accelerate your tests by wrapping each test method
7
- # in a transaction that's rolled back on completion. This ensures that the
8
- # test database remains unchanged so your fixtures don't have to be reloaded
9
- # between every test method. Fewer database queries means faster tests.
10
- #
11
- # Read Mike Clark's excellent walkthrough at
12
- # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
13
- #
14
- # Every Active Record database supports transactions except MyISAM tables
15
- # in MySQL. Turn off transactional fixtures in this case; however, if you
16
- # don't care one way or the other, switching from MyISAM to InnoDB tables
17
- # is recommended.
18
- self.use_transactional_fixtures = true
19
-
20
- # Instantiated fixtures are slow, but give you @david where otherwise you
21
- # would need people(:david). If you don't want to migrate your existing
22
- # test cases which use the @david style and don't mind the speed hit (each
23
- # instantiated fixtures translates to a database query per test method),
24
- # then set this back to true.
25
- self.use_instantiated_fixtures = false
26
-
27
- # Add more helper methods to be used by all tests here...
28
- end
@@ -1,797 +0,0 @@
1
- == Version 1.0.5
2
- Bug fixes. Autotest plugin tweaks.
3
-
4
- * Fixed [#11378] fix to 10814 broke drb
5
- * Fixed [#11223] Unable to access flash from rails helper specs
6
- * Fixed [#11337] autotest runs specs redundantly
7
- * Fixed [#11258] windows: autotest won't run
8
- * Applied [#11253] Tweaks to autotest file mappings (Patch from Wincent Colaiuta)
9
- * Applied [#11252] Should be able to re-load file containing shared behaviours without raising an exception (Patch from Wincent Colaiuta)
10
- * Fixed [#11247] standalone autotest doesn't work because of unneeded autotest.rb
11
- * Applied [#11221] Autotest support does not work w/o Rails Gem installed (Patch from Josh Knowles)
12
-
13
- == Version 1.0.4
14
- The getting ready for JRuby release.
15
-
16
- * Fixed [#11181] behaviour_type scoping of config.before(:each) is not working
17
- * added mock argument constraint matchers (anything(), boolean(), an_instance_of(Type)) which work with rspec or mocha
18
- * added mock argument constraint matchers (any_args(), no_args()) which only work with rspec
19
- * deprecated rspec's symbol mock argument constraint matchers (:any_args, :no_args, :anything, :boolean, :numeric, :string)
20
- * Added tarball of rspec_on_rails to the release build to support folks working behind a firewall that blocks svn access.
21
- * Fixed [#11137] rspec incorrectly handles flash after resetting the session
22
- * Fixed [#11143] Views code for ActionController::Base#render broke between 1.0.0 and 1.0.3 on Rails Edge r6731
23
- * Added raise_controller_errors for controller examples in Spec::Rails
24
-
25
- == Version 1.0.3
26
- Bug fixes.
27
-
28
- * Fixed [#11104] Website uses old specify notation
29
- * Applied [#11101] StringHelpers.starts_with?(prefix) assumes a string parameter for _prefix_
30
- * Removed 'rescue nil' which was hiding errors in controller examples.
31
- * Fixed [#11075] controller specs fail when using mocha without integrated_views
32
- * Fixed problem with redirect_to failing incorrectly against edge rails.
33
- * Fixed [#11082] RspecResourceGenerator should be RspecScaffoldGenerator
34
- * Fixed [#10959] Focused Examples do not work for Behaviour defined with constant with modules
35
-
36
- == Version 1.0.2
37
- This is just to align the version numbers in rspec and rspec_on_rails.
38
-
39
- == Version 1.0.1
40
- This is a maintenance release with mostly cleaning up, and one minor enhancement -
41
- Modules are automatically included when described directly.
42
-
43
- * Renamed Spec::Rails' rspec_resource generator to rspec_scaffold.
44
- * Removed Spec::Rails' be_feed matcher since it's based on assert_select_feed which is not part of Rails (despite that docs for assert_select_encoded says it is).
45
- * describe(SomeModule) will include that module in the examples. Like for Spec::Rails helpers, but now also in core.
46
- * Header in HTML report will be yellow instead of red if there is one failed example
47
- * Applied [#10951] Odd instance variable name in rspec_model template (patch from Kyle Hargraves)
48
- * Improved integration with autotest (Patches from Ryan Davis and David Goodland)
49
- * Some small fixes to make all specs run on JRuby.
50
-
51
- == Version 1.0.0
52
- The stake in the ground release. This represents a commitment to the API as it is. No significant
53
- backwards compatibility changes in the API are expected after this release.
54
-
55
- * Fixed [#10923] have_text matcher does not support should_not
56
- * Fixed [#10673] should > and should >= broken
57
- * Applied [#10921] Allow verify_rcov to accept greater than threshold coverage %'s via configuration
58
- * Applied [#10920] Added support for not implemented examples (Patch from Chad Humphries and Ken Barker)
59
- * Patch to allow not implemented examples. This works by not providing a block to the example. (Patch from Chad Humphries, Ken Barker)
60
- * Yanked support for Rails 1.1.6 in Spec::Rails
61
- * RSpec.tmbundle uses CMD-SHIFT-R to run focused examples now.
62
- * Spec::Rails now bundles a spec:rcov task by default (suggestion from Kurt Schrader)
63
- * Fixed [#10814] Runner loads shared code, test cases require them again
64
- * Fixed [#10753] Global before and after
65
- * Fixed [#10774] Allow before and after to be specified in config II
66
- * Refactored Spec::Ui examples to use new global before and after blocks.
67
- * Added instructions about how to get Selenium working with Spec::Ui (spec_ui/examples/selenium/README.txt)
68
- * Fixed [#10805] selenium.rb missing from gem?
69
- * Added rdocs explaining how to deal with errors in Rails' controller actions
70
- * Applied [#10770] Finer grained includes.
71
- * Fixed [#10747] Helper methods defined in shared specs are not visible when shared spec is used
72
- * Fixed [#10748] Shared descriptions in separate files causes 'already exists' error
73
- * Applied [#10698] Running with --drb executes specs twice (patch from Ruy Asan)
74
- * Fixed [#10871] 0.9.4 - Focussed spec runner fails to run specs in descriptions with type and string when there is no leading space in the string
75
-
76
- == Version 0.9.4
77
- This release introduces massive improvements to Spec::Ui - the user interface functional testing
78
- extension to RSpec. There are also some minor bug fixes to the RSpec core.
79
-
80
- * Massive improvements to Spec::Ui. Complete support for all Watir's ie.xxx(how, what) methods. Inline screenshots and HTML.
81
- * Reactivated --timeout, which had mysteriously been deactivated in a recent release.
82
- * Fixed [#10669] Kernel#describe override does not cover Kernel#context
83
- * Applied [#10636] Added spec for OptionParser in Runner (Patch from Scott Taylor)
84
- * Added [#10516] should_include should be able to accept multiple items
85
- * Applied [#10631] redirect_to matcher doesn't respect request.host (Patch from Tim Lucas)
86
- * Each formatter now flushes their own IO. This is to avoid buffering of output.
87
- * Fixed [#10670] IVarProxy#delete raises exception when instance variable does not exist
88
-
89
- == Version 0.9.3
90
- This is a bugfix release.
91
-
92
- * Fixed [#10594] Failing Custom Matcher show NAME NOT GENERATED description
93
- * describe(SomeType, "#message") will not add a space: "SomeType#message" (likewise for '.')
94
- * describe(SomeType, "message") will have a decription with a space: "SomeType message"
95
- * Applied [#10566] prepend_before and prepend_after callbacks
96
- * Applied [#10567] Call setup and teardown using before and after callbacks
97
-
98
- == Version 0.9.2
99
- This is a quick maintenance release.
100
-
101
- * Added some website love
102
- * Fixed [#10542] reverse predicate matcher syntax
103
- * Added a spec:translate Rake task to make 0.9 translation easier with Spec:Rails
104
- * Better translation of should_redirect_to
105
- * Fixed --colour support for Windows. This is a regression that was introduced in 0.9.1
106
- * Applied [#10460] Make SpecRunner easier to instantiate without using commandline args
107
-
108
- == Version 0.9.1
109
-
110
- This release introduces #describe and #it (aliased as #context and #specify for
111
- backwards compatibility). This allows you to express specs like this:
112
-
113
- describe SomeClass do # Creates a Behaviour
114
- it "should do something" do # Creates an Example
115
- end
116
- end
117
-
118
- The command line features four new options that give you more control over what specs
119
- are being run and in what order. This can be used to verify that your specs are
120
- independent (by running in opposite order with --reverse). It can also be used to cut
121
- down feedback time by running the most recently modified specs first (--loadby mtime --reverse).
122
-
123
- Further, --example replaces the old --spec option, and it can now take a file name of
124
- spec names as an alternative to just a spec name. The --format failing_examples:file.txt
125
- option allows you to output an --example compatible file, which makes it possible to only
126
- rerun the specs that failed in the last run. Spec::Rails uses all of these four options
127
- by default to optimise your RSpec experience.
128
-
129
- There is now a simple configuration model. For Spec::Rails, you do something like this:
130
-
131
- Spec::Runner.configure do |config|
132
- config.use_transactional_fixtures = true
133
- config.use_instantiated_fixtures = false
134
- config.fixture_path = RAILS_ROOT + '/spec/fixtures'
135
- end
136
-
137
- You can now use mocha or flexmock with RSpec if you prefer either to
138
- RSpec's own mock framework. Just put this:
139
-
140
- Spec::Runner.configure do |config|
141
- config.mock_with :mocha
142
- end
143
-
144
- or this:
145
-
146
- Spec::Runner.configure do |config|
147
- config.mock_with :flexmock
148
- end
149
-
150
- in a file that is loaded before your specs. You can also
151
- configure included modules and predicate_matchers:
152
-
153
- Spec::Runner.configure do |config|
154
- config.include SomeModule
155
- config.predicate_matchers[:does_something?] = :do_something
156
- end
157
-
158
- See Spec::DSL::Behaviour for more on predicate_matchers
159
-
160
- * Sugar FREE!
161
- * Added [10434 ] Please Make -s synonymous with -e for autotest compat. This is temporary until autotest uses -e instead of -s.
162
- * Fixed [#10133] custom predicate matchers
163
- * Applied [#10473] Add should exist (new matcher) - Patch from Bret Pettichord
164
- * Added another formatter: failing_behaviours. Writes the names of the failing behaviours for use with --example.
165
- * Applied [#10315] Patch to fix pre_commit bug 10313 - pre_commit_rails: doesn't always build correctly (Patch from Antii Tarvainen)
166
- * Applied [#10245] Patch to HTML escape the behavior name when using HTML Formatter (Patch from Josh Knowles)
167
- * Applied [#10410] redirect_to does not behave consistently with regards to query string parameter ordering (Patch from Nicholas Evans)
168
- * Applied [#9605] Patch for ER 9472, shared behaviour (Patch by Bob Cotton)
169
- * The '--format rdoc' option no longer causes a dry-run by default. --dry-run must be used explicitly.
170
- * It's possible to specify the output file in the --format option (See explanation in --help)
171
- * Several --format options may be specified to output several formats in one run.
172
- * The --out option is gone. Use --format html:path/to/my.html instead (or similar).
173
- * Spec::Runner::Formatter::BaseTextFormatter#initialize only takes one argument - an IO. dry_run and color are setters.
174
- * Made Spec::Ui *much* easier to install. It will be released separately. Check out trunk/spec_ui/examples
175
- * HTML reports now include a syntax highlighted snippet of the source code where the spec failed (needs the syntax gem)
176
- * Added [#10262] Better Helper testing of Erb evaluation block helpers
177
- * Added [#9735] support flexmock (thanks to Jim Weirich for his modifications to flexmock to support this)
178
- * Spec::Rails controller specs will no longer let mock exception ripple through to the response.
179
- * Fixed [#9260] IvarProxy does not act like a hash.
180
- * Applied [#9458] The rspec_scaffold generator does not take into account class nesting (Patch from Steve Tendon)
181
- * Applied [#9132] Rakefile spec:doc can fail without preparing database (Patch from Steve Ross)
182
- * Applied [#9678] Custom runner command line switch, and multi-threaded runner (Patch from Bob Cotton)
183
- * Applied [#9926] Rakefile - RSPEC_DEPS constant as an Array of Hashes instead of an Array of Arrays (Patch from Scott Taylor)
184
- * Applied [#9925] Changed ".rhtml" to "template" in REST spec generator (Patch from Scott Taylor)
185
- * Applied [#9852] Patch for RSpec's Website using Webgen 0.4.2 (Patch from Scott Taylor)
186
- * Fixed [#6523] Run rspec on rails without a db
187
- * Fixed [#9295] rake spec should run anything in the spec directory (not just rspec's standard dirs)
188
- * Added [#9786] infer controller and helper names from the described type
189
- * Fixed [#7795] form_tag renders action='/view_spec' in view specs
190
- * Fixed [#9767] rspec_on_rails should not define rescue_action on controllers
191
- * Fixed [#9421] --line doesn't work with behaviours that use class names
192
- * Fixed [#9760] rspec generators incompatible with changes to edge rails
193
- * Added [#9786] infer controller and helper names from the described type
194
- * Applied a simplified version of [#9282] Change to allow running specs from textmate with rspec installed as a rails plugin (and no rspec gem installed)
195
- * Applied [#9700] Make Spec::DSL::Example#name public / Add a --timeout switch. A great way to prevent specs from getting slow.
196
- * In Rails, script/generate rspec will generate a spec.opts file that optimises faster/more efficient running of specs.
197
- * Added [#9522] support using rspec's expectations with test/unit
198
- * Moved rspec_on_rails up to the project root, simplifying the download url
199
- * Fixed [#8103] RSpec not installing spec script correctly.
200
- * The --spec option is replaced by the --example option.
201
- * The --loadby option no longer supports a file argument. Use --example file_name instead.
202
- * The --example option can now take a file name as an argument. The file should contain example names.
203
- * Internal classes are named Behaviour/Example (rather than Context/Specification).
204
- * You can now use mocha by saying config.mock_with :mocha in a spec_helper
205
- * before_context_eval is replaced by before_eval.
206
- * Applied [#9509] allow spaced options in spec.opts
207
- * Applied [#9510] Added File for Ruby 1.8.6
208
- * Applied [#9511] Clarification to README file in spec/
209
- * Moved all of the Spec::Rails specs down to the plugins directory - now you can run the specs after you install.
210
- * Updated RSpec.tmbundle to the 0.9 syntax and replaced context/specify with describe/it.
211
- * Applied [#9232] ActionController::Base#render is sometimes protected (patch from Dan Manges)
212
- * Added --reverse option, allowing contexts/specs to be run in reverse order.
213
- * Added --loadby option, allowing better control over load order for spec files. mtime and file.txt supported.
214
- * Implemented [#8696] --order option (see --reverse and --loadby)
215
- * Added describe/it as aliases for context/specify - suggestion from Dan North.
216
- * Applied [#7637] [PATCH] add skip-migration option to rspec_scaffold generator
217
- * Added [#9167] string.should have_tag
218
- * Changed script/rails_spec_server to script/spec_server and added script/spec (w/ path to vendor/plugins/rspec)
219
- * Fixed [#8897] Error when mixing controller spec with/without integrated views and using template system other than rhtml
220
- * Updated sample app specs to 0.9 syntax
221
- * Updated generated specs to 0.9 syntax
222
- * Applied [#8994] trunk: generated names for be_ specs (Multiple patches from Yurii Rashkovskii)
223
- * Applied [#9983]: Allow before and after to be called in BehaviourEval. This is useful for shared examples.
224
-
225
- == Version 0.8.2
226
-
227
- Replaced assert_select fork with an assert_select wrapper for have_tag. This means that "should have_rjs" no longer supports :hide or :effect, but you can still use should_have_rjs for those.
228
-
229
- == Version 0.8.1
230
-
231
- Quick "in house" bug-fix
232
-
233
- == Version 0.8.0
234
-
235
- This release introduces a new approach to handling expectations using Expression Matchers.
236
-
237
- See Upgrade[http://rspec.rubyforge.org/upgrade.html], Spec::Expectations, Spec::Matchers and RELEASE-PLAN for more info.
238
-
239
- This release also improves the spec command line by adding DRb support and making it possible to
240
- store command line options in a file. This means a more flexible RSpec experience with Rails,
241
- Rake and editor plugins like TextMate.
242
-
243
- It also sports myriad new features, bug fixes, patches and general goodness:
244
-
245
- * Fixed [#8928] rspec_on_rails 0.8.0-RC1 controller tests make double call to setup_with_fixtures
246
- * Fixed [#8925] Documentation bug in 0.8.0RC1 rspec website
247
- * Applied [#8132] [PATCH] RSpec breaks "rake db:sessions:create" in a rails project that has the rspec_on_rails plugin (Patch from Erik Kastner)
248
- * Fixed [#8789] --line and --spec not working when the context has parenhesis in the name
249
- * Added [#8783] auto generate spec names from last expectation
250
- * --heckle now fails if the heckled class or module is not found.
251
- * Fixed [#8771] Spec::Mocks::BaseExpectation#with converts hash params to array of arrays with #collect
252
- * Fixed [#8750] should[_not]_include backwards compatibility between 0.8.0-RC1 and 0.7.5.1 broken
253
- * Fixed [#8646] Context Runner does not report on Non standard exceptions and return a 0 return code
254
- * RSpec on Rails' spec_helper.rb will only force RAILS_ENV to test if it was not specified on the command line.
255
- * Fixed [#5485] proc#should_raise and proc#should_not_raise output
256
- * Added [#8484] should_receive with blocks
257
- * Applied [#8218] heckle_runner.rb doesn't work with heckle >= 1.2.0 (Patch from Michal Kwiatkowski)
258
- * Fixed [#8240] Cryptic error message when no controller_name
259
- * Applied [#7461] [PATCH] Contexts don't call Module::included when they include a module
260
- * Removed unintended block of test/unit assertions in rspec_on_rails - they should all, in theory, now be accessible
261
- * Added mock_model method to RSpec on Rails, which stubs common methods. Based on http://metaclass.org/2006/12/22/making-a-mockery-of-activerecord
262
- * Fixed [#8165] Partial Mock Errors when respond_to? is true but the method is not in the object
263
- * Fixed [#7611] Partial Mocks override Subclass methods
264
- * Fixed [#8302] Strange side effect when mocking a class method
265
- * Applied [#8316] to_param should return a stringified key in resource generator's controller spec (Patch from Chris Anderson)
266
- * Applied [#8216] shortcut for creating object stub
267
- * Applied [#8008] Correct generated specs for view when calling resource generator (Patch from Jonathan Tron)
268
- * Fixed [#7754] Command-R fails to run spec in TextMate (added instruction from Luke Redpath to the website)
269
- * Fixed [#7826] RSpect.tmbundle web page out of date.
270
- * RSpec on Rails specs are now running against RoR 1.2.1 and 1.2.2
271
- * rspec_scaffold now generates specs for views
272
- * In a Rails app, RSpec core is only loaded when RAILS_ENV==test (init.rb)
273
- * Added support for target.should arbitrary_expectation_handler and target.should_not arbitrary_expectation_handler
274
- * Fixed [#7533] Spec suite fails and the process exits with a code 0
275
- * Fixed [#7565] Subsequent stub! calls for method fail to override the first call to method
276
- * Applied [#7524] Incorrect Documentation for 'pattern' in Rake task (patch from Stephen Duncan)
277
- * Fixed [#7409] default fixtures do not appear to run.
278
- * Fixed [#7507] "render..and return" doesn't return
279
- * Fixed [#7509] rcov/rspec incorrectly includes boot.rb (Patch from Courtenay)
280
- * Fixed [#7506] unnecessary complex output on failure of response.should be_redirect
281
- * Applied [#6098] Make scaffold_resource generator. Based on code from Pat Maddox.
282
- * The drbspec command is gone. Use spec --drb instead.
283
- * The drb option is gone from the Rake task. Pass --drb to spec_opts instead.
284
- * New -X/--drb option for running specs against a server like spec/rails' script/rails_spec_server
285
- * New -O/--options and -G/--generate flags for file-based options (handy for spec/rails)
286
- * Applied [#7339] Turn off caching in HTML reports
287
- * Applied [#7419] "c option for colorizing output does not work with rails_spec" (Patch from Shintaro Kakutani)
288
- * Applied [#7406] [PATCH] 0.7.5 rspec_on_rails loads fixtures into development database (Patch from Wilson Bilkovich)
289
- * Applied [#7387] Allow stubs to return consecutive values (Patch from Pat Maddox)
290
- * Applied [#7393] Fix for rake task (Patch from Pat Maddox)
291
- * Reinstated support for response.should_render (in addition to controller.should_render)
292
-
293
- == Version 0.7.5.1
294
-
295
- Bug fix release to allow downloads of rspec gem using rubygems 0.9.1.
296
-
297
- == Version 0.7.5
298
- This release adds support for Heckle - Seattle'rb's code mutation tool.
299
- There are also several bug fixes to the RSpec core and the RSpec on Rails plugin.
300
-
301
- * Removed svn:externals on rails versions and plugins
302
- * Applied [#7345] Adding context_setup and context_teardown, with specs and 100% rcov
303
- * Applied [#7320] [PATCH] Allow XHR requests in controller specs to render RJS templates
304
- * Applied [#7319] Migration code uses drop_column when it should use remove_column (patch from Pat Maddox)
305
- * Added support for Heckle
306
- * Applied [#7282] dump results even if spec is interrupted (patch from Kouhei Sutou)
307
- * Applied [#7277] model.should_have(n).errors_on(:attribute) (patch from Wilson Bilkovich)
308
- * Applied [#7270] RSpec render_partial colliding with simply_helpful (patch from David Goodlad)
309
- * Added [#7250] stubs should support throwing
310
- * Added [#7249] stubs should support yielding
311
- * Fixed [#6760] fatal error when accessing nested finders in rspec
312
- * Fixed [#7179] script/generate rspec_scaffold generates incorrect helper name
313
- * Added preliminary support for assert_select (response.should_have)
314
- * Fixed [#6971] and_yield does not work when the arity is -1
315
- * Fixed [#6898] Can we separate rspec from the plugins?
316
- * Added [#7025] should_change should accept a block
317
- * Applied [#6989] partials with locals (patch from Micah Martin)
318
- * Applied [#7023] Typo in team.page
319
-
320
- == Version 0.7.4
321
-
322
- This release features a complete redesign of the reports generated with --format html.
323
- As usual there are many bug fixes - mostly related to spec/rails.
324
-
325
- * Applied [#7010] Fixes :spacer_template does not work w/ view spec (patch from Shintaro Kakutani)
326
- * Applied [#6798] ensure two ':' in the first backtrace line for Emacs's 'next-error' command (patch from Kouhei Sutou)
327
- * Added Much nicer reports to generated website
328
- * Much nicer reports with --format --html (patch from Luke Redpath)
329
- * Applied [#6959] Calls to render and redirect in controllers should return true
330
- * Fixed [#6981] helper method is not available in partial template.
331
- * Added [#6978] mock should tell you the expected and actual args when receiving the right message with the wrong args
332
- * Added the possibility to tweak the output of the HtmlFormatter (by overriding extra_failure_content).
333
- * Fixed [#6936] View specs don't include ApplicationHelper by default
334
- * Fixed [#6903] Rendering a partial in a view makes the view spec blow up
335
- * Added callback library from Brian Takita
336
- * Added [#6925] support controller.should_render :action_name
337
- * Fixed [#6884] intermittent errors related to method binding
338
- * Fixed [#6870] rspec on edge rails spec:controller fixture loading fails
339
- * Using obj.inspect for all messages
340
- * Improved performance by getting rid of instance_exec (instance_eval is good enough because we never need to pass it args)
341
-
342
- == Version 0.7.3
343
-
344
- Almost normal bug fix/new feature release.
345
-
346
- A couple of things you need to change in your rails specs:
347
- # spec_helper.rb is a little different (see http://rspec.rubyforge.org/upgrade.html)
348
- # use controller.should_render before OR after the action (controller.should_have_rendered is deprecated)
349
-
350
- * Applied [#6577] messy mock backtrace when frozen to edge rails (patch from Jay Levitt)
351
- * Fixed [#6674] rspec_on_rails fails on @session deprecation warning
352
- * Fixed [#6780] routing() was failing...fix included - works for 1.1.6 and edge (1.2)
353
- * Fixed [#6835] bad message with arbitrary predicate
354
- * Added [#6731] Partial templates rendered
355
- * Fixed [#6713] helper methods not rendered in view tests?
356
- * Fixed [#6707] cannot run controller / helper tests via rails_spec or spec only works with rake
357
- * Applied [#6417] lambda {...}.should_change(receiver, :message) (patch from Wilson Bilkovich)
358
- * Eliminated dependency on ZenTest
359
- * Fixed [#6650] Reserved characters in the TextMate bundle break svn on Win32
360
- * Fixed [#6643] script/generate rspec_controller: invalid symbol generation for 'controller_name' for *modularized* controllers
361
- * The script/rails_spec command has been moved to bin/drbspec in RSpec core (installed by the gem)
362
-
363
- == Version 0.7.2
364
-
365
- This release introduces a brand new RSpec bundle for TextMate, plus some small bugfixes.
366
-
367
- * Packaged RSpec.tmbundle.tgz as part of the distro
368
- * Fixed [#6593] Add moving progress bar to HtmlFormatter using Javascript
369
- * Applied [#6265] should_raise should accept an Exception object
370
- * Fixed [#6616] Can't run Rails specs with RSpec.tmbundle
371
- * Fixed [#6411] Can't run Rails specs with ruby
372
- * Added [#6589] New -l --line option. This is useful for IDE/editor runners/extensions.
373
- * Fixed [#6615] controller.should_render_rjs should support :partial => 'path/to/template'
374
-
375
- == Version 0.7.1
376
-
377
- Bug fixes and a couple o' new features.
378
-
379
- * Fixed [#6575] Parse error in aliasing the partial mock original method (patch by Brian Takita)
380
- * Fixed [#6277] debris left by stubbing (trunk) [submitted by dastels] (fixed by fix to [#6575])
381
- * Fixed [#6575] Parse error in aliasing the partial mock original method
382
- * Fixed [#6555] should_have_tag does not match documentation
383
- * Fixed [#6567] SyntaxError should not stop entire run
384
- * Fixed [#6558] integrated views look for template even when redirected
385
- * Fixed [#6547] response.should be_redirect broken in 0.7.0
386
- * Applied [#6471] Easy way to spec routes
387
- * Applied [#6587] Rspec on Rails displays "Spec::Rails::ContextFactory" as context name
388
- * Applied [#6514] Document has trivial typos.
389
- * Added [#6560] controller.session should be available before the action
390
- * Added support for should_have_rjs :visual_effect
391
- * Different printing and colours for unmet expectations (red) and other exceptions (magenta)
392
- * Simplified method_missing on mock_methods to make it less invasive on partial mocks.
393
-
394
- == Version 0.7.0
395
-
396
- This is the "Grow up and eat your own dog food release". RSpec is now used on itself and
397
- we're no longer using Test::Unit to test it. Although, we are still extending Test::Unit
398
- for the rails plugin (indirectly - through ZenTest)
399
-
400
- IMPORTANT NOTE: THIS RELEASE IS NOT 100% BACKWARDS COMPATIBLE TO 0.6.x
401
-
402
- There are a few changes that will require that you change your existing specs.
403
-
404
- RSpec now handles equality exactly like ruby does:
405
-
406
- # actual.should_equal(expected) will pass if actual.equal?(expected) returns true
407
- # actual.should eql(expected) will pass if actual.eql?(expected) returns true
408
- # actual.should == expected will pass if actual == expected) returns true
409
-
410
- At the high level, eql? implies equivalence, while equal? implies object identity. For more
411
- information on how ruby deals w/ equality, you should do this:
412
-
413
- ri equal?
414
-
415
- or look at this:
416
-
417
- http://www.ruby-doc.org/core/classes/Object.html#M001057
418
-
419
- Also, we left in should_be as a synonym for should_equal, so the only specs that should break are the
420
- ones using should_equal (which used to use <code>==</code> instead of <code>.equal?</code>).
421
-
422
- Lastly, should_be used to handle true and false differently from any other values. We've removed
423
- this special handling, so now actual.should_be true will fail for any value other than true (it
424
- used to pass for any non-nil, non-false value), and actual.should_be false will fail for any
425
- value other than false (it used to pass for nil or false).
426
-
427
- Here's what you'll need to do to update your specs:
428
- # search for "should_equal" and replace with "should_eql"
429
- # run specs
430
-
431
- If any specs still fail, they are probably related to should be_true or should_be_false using
432
- non-boolean values. Those you'll just have to inspect manually and adjust appropriately (sorry!).
433
-
434
- --------------------------------------------------
435
- Specifying multiple return values in mocks now works like this:
436
-
437
- mock.should_receive(:message).and_return(1,2,3)
438
-
439
- It used to work like this:
440
-
441
- mock.should_receive(:message).and_return([1,2,3])
442
-
443
- but we decided that was counter intuitive and otherwise lame.
444
-
445
- Here's what you'll need to do to update your specs:
446
- # search for "and_return(["
447
- # get rid of the "[" and "]"
448
-
449
- --------------------------------------------------
450
- RSpec on Rails now supports the following (thanks to ZenTest upon which it is built):
451
-
452
- # Separate specs for models, views, controllers and helpers
453
- # Controller specs are completely decoupled from the views by default (though you can tell them to couple themselves if you prefer)
454
- # View specs are completely decoupled from app-specific controllers
455
-
456
- See http://rspec.rubyforge.org/documentation/rails/index.html for more information
457
- --------------------------------------------------
458
- As usual, there are also other new features and bug fixes:
459
-
460
- * Added lots of documentation on mocks/stubs and the rails plugin.
461
- * Added support for assigns[key] syntax for controller specs (to align w/ pre-existing syntax for view specs)
462
- * Added support for controller.should_redirect_to
463
- * RSpec on Rails automatically checks whether it's compatible with the installed RSpec
464
- * Applied [#6393] rspec_on_rails uses deprecated '@response' instead of the accessor
465
- * RSpec now has 100% spec coverage(!)
466
- * Added support for stubbing and partial mocking
467
- * Progress (....F..F.) is now coloured. Tweaked patch from KAKUTANI Shintaro.
468
- * Backtrace now excludes the rcov runner (/usr/local/bin/rcov)
469
- * Fixed [#5539] predicates do not work w/ rails
470
- * Added [#6091] support for Regexp matching messages sent to should_raise
471
- * Added [#6333] support for Regexp matching in mock arguments
472
- * Applied [#6283] refactoring of diff support to allow selectable formats and custom differs
473
- * Fixed [#5564] "ruby spec_file.rb" doesn't work the same way as "spec spec_file.rb"
474
- * Fixed [#6056] Multiple output of failing-spec notice
475
- * Fixed [#6233] Colours in specdoc
476
- * Applied [#6207] Allows --diff option to diff target and expected's #inspect output (Patch by Lachie Cox)
477
- * Fixed [#6203] Failure messages are misleading - consider using inspect.
478
- * Added [#6334] subject.should_have_xyz will try to call subject.has_xyz? - use this for hash.should_have_key(key)
479
- * Fixed [#6017] Rake task should ignore empty or non-existent spec-dirs
480
-
481
- == Version 0.6.4
482
-
483
- In addition to a number of bug fixes and patches, this release begins to formalize the support for
484
- RSpec on Rails.
485
-
486
- * Added Christopher Petrilli's TextMate bundle to vendor/textmate/RSpec.tmbundle
487
- * Fixed [#5909], once again supporting multi_word_predicates
488
- * Applied [#5873] - response.should_have_rjs (initial patch from Jake Howerton, based on ARTS by Kevin Clark)
489
- * Added generation of view specs for rspec_on_rails
490
- * Applied [#5815] active_record_subclass.should_have(3).records
491
- * Added support in "rake stats" for view specs (in spec/views)
492
- * Applied [#5801] QuickRef.pdf should say RSpec, not rSpec
493
- * Applied [#5728] rails_spec_runner fails on Windows (Patch from Lindsay Evans).
494
- * Applied [#5708] RSpec Rails plugin rspec_controller generator makes specs that do not parse.
495
- * Cleaned up RSpec on Rails so it doesn't pollute as much during bootstrapping.
496
- * Added support for response.should_have_tag and response.should_not_have_tag (works just like assert_tag in rails)
497
- * Added new -c, --colour, --color option for colourful (red/green) output. Inspired from Pat Eyler's Redgreen gem.
498
- * Added examples for Watir and Selenium under the gem's vendor directory.
499
- * Renamed rails_spec_runner to rails_spec_server (as referred to in the docs)
500
- * Added support for trying a plural for arbitrary predicates. E.g. Album.should_exist(:name => "Hey Jude") will call Album.exists?(:name => "Hey Jude")
501
- * Added support for should_have to work with methods taking args returning a collection. E.g. @dave.should_have(3).albums_i_have_that_this_guy_doesnt(@aslak)
502
- * Added [#5570] should_not_receive(:msg).with(:specific, "args")
503
- * Applied [#5065] to support using define_method rather than method_missing to capture expected messages on mocks. Thanks to Eero Saynatkari for the tip that made it work.
504
- * Restructured directories and Modules in order to separate rspec into three distinct Modules: Spec::Expectations, Spec::Runner and Spec::Mocks. This will allow us to more easily integrate other mock frameworks and/or allow test/unit users to take advantage of the expectation API.
505
- * Applied [#5620] support any boolean method and arbitrary comparisons (5.should_be < 6) (Patch from Mike Williams)
506
-
507
- == Version 0.6.3
508
-
509
- This release fixes some minor bugs related to RSpec on Rails
510
- Note that if you upgrade a rails app with this version of the rspec_on_rails plugin
511
- you should remove your lib/tasks/rspec.rake if it exists.
512
-
513
- * Backtraces from drb (and other standard ruby libraries) are now stripped from backtraces.
514
- * Applied [#5557] Put rspec.rake into the task directory of the RSpec on Rails plugin (Patch from Daniel Siemssen)
515
- * Applied [#5556] rails_spec_server loads environment.rb twice (Patch from Daniel Siemssen)
516
-
517
- == Version 0.6.2
518
- This release fixes a couple of regressions with the rake task that were introduced in the previous version (0.6.1)
519
-
520
- * Fixed [#5518] ruby -w: warnings in 0.6.1
521
- * Applied [#5525] fix rake task path to spec tool for gem-installed rspec (patch from Riley Lynch)
522
- * Fixed a teensey regression with the rake task - introduced in 0.6.1. The spec command is now quoted so it works on windows.
523
-
524
- == Version 0.6.1
525
- This is the "fix the most annoying bugs release" of RSpec. There are 9 bugfixes this time.
526
- Things that may break backwards compatibility:
527
- 1) Spec::Rake::SpecTask no longer has the options attribute. Use ruby_opts, spec_opts and rcov_opts instead.
528
-
529
- * Fixed [#4891] RCOV task failing on windows
530
- * Fixed [#4896] Shouldn't modify user's $LOAD_PATH (Tip from Gavin Sinclair)
531
- * Fixed [#5369] ruby -w: warnings in RSpec 0.5.16 (Tip from Suraj Kurapati)
532
- * Applied [#5141] ExampleMatcher doesn't escape strings before matching (Patch from Nikolai Weibull).
533
- * Fixed [#5224] Move 'require diff-lcs' from test_helper.rb to diff_test.rb (Tip from Chris Roos)
534
- * Applied [#5449] Rake stats for specs (Patch from Nick Sieger)
535
- * Applied [#5468, #5058] Fix spec runner to correctly run controller specs (Patch from Daniel Siemssen)
536
- * Applied fixes to rails_spec_server to improve its ability to run several times. (Patch from Daniel Siemssen)
537
- * Changed RCov::VerifyTask to fail if the coverage is above the threshold. This is to ensure it gets bumped when coverage improves.
538
-
539
- == Version 0.6.0
540
- This release makes an official commitment to underscore_syntax (with no more support for dot.syntax)
541
-
542
- * Fixed bug (5292) that caused mock argument matching to fail
543
- * Converted ALL tests to use underscore syntax
544
- * Fixed all remaining problems with underscores revealed by converting all the tests to underscores
545
- * Enhanced sugar to support combinations of methods (i.e. once.and_return)
546
- * Simplified helper structure taking advantage of dot/underscore combos (i.e. should.be.an_instance_of, which can be expressed as should be_an_instance_of)
547
- * Added support for at_most in mocks
548
- * Added support for should_not_receive(:msg) (will be removing should_receive(:msg).never some time soon)
549
- * Added support for should_have_exactly(5).items_in_collection
550
-
551
- == Version 0.5.16
552
- This release improves Rails support and test2spec translation.
553
-
554
- * Fixed underscore problems that occurred when RSpec was used in Rails
555
- * Simplified the Rails support by packaging it as a plugin instead of a generator gem.
556
- * Fixed [#5063] 'rspec_on_rails' require line in spec_helper.rb
557
- * Added pre_commit rake task to reduce risk of regressions. Useful for RSpec developers and patchers.
558
- * Added failure_message to RSpec Rake task
559
- * test2spec now defines converted helper methods outside of the setup block (bug #5057).
560
-
561
- == Version 0.5.15
562
- This release removes a prematurely added feature that shouldn't have been added.
563
-
564
- * Removed support for differences that was added in 0.5.14. The functionality is not aligned with RSpec's vision.
565
-
566
- == Version 0.5.14
567
- This release introduces better ways to extend specs, improves some of the core API and
568
- a experimental support for faster rails specs.
569
-
570
- * Added proc methods for specifying differences (increments and decrements). See difference_test.rb
571
- * Methods can now be defined alongside specs. This obsoletes the need for defining methods in setup. (Patch #5002 from Brian Takita)
572
- * Sugar (underscores) now works correctly with should be_a_kind_of and should be_an_instance_of
573
- * Added support for include and inherit in contexts. (Patch #4971 from Brian Takita)
574
- * Added rails_spec and rails_spec_server for faster specs on rails (still buggy - help needed)
575
- * Fixed bug that caused should_render to break if given a :symbol (in Rails)
576
- * Added support for comparing exception message in should_raise and should_not_raise
577
-
578
- == Version 0.5.13
579
- This release fixes some subtle bugs in the mock API.
580
-
581
- * Use fully-qualified class name of Exceptions in failure message. Easier to debug that way.
582
- * Fixed a bug that caused mocks to yield a one-element array (rather than the element) when one yield arg specified.
583
- * Mocks not raise AmbiguousReturnError if an explicit return is used at the same time as an expectation block.
584
- * Blocks passed to yielding mocks can now raise without causing mock verification to fail.
585
-
586
- == Version 0.5.12
587
- This release adds diff support for failure messages, a HTML formatter plus some other
588
- minor enhancements.
589
-
590
- * Added HTML formatter.
591
- * Added fail_on_error option to spectask.
592
- * Added support for diffing, using the diff-lcs Rubygem (#2648).
593
- * Remove RSpec on Rails files from backtrace (#4694).
594
- * All of RSpec's own tests run successfully after translation with test2spec.
595
- * Added --verbose mode for test2spec - useful for debugging when classes fail to translate.
596
- * Output of various formatters is now flushed - to get more continuous output.
597
-
598
- == Version 0.5.11
599
- This release makes test2spec usable with Rails (with some manual steps).
600
- See http://rspec.rubyforge.org/tools/rails.html for more details
601
-
602
- * test2spec now correctly translates bodies of helper methods (non- test_*, setup and teardown ones).
603
- * Added more documentation about how to get test2spec to work with Rails.
604
-
605
- == Version 0.5.10
606
- This version features a second rewrite of test2spec - hopefully better than the previous one.
607
-
608
- * Improved test2spec's internals. It now transforms the syntax tree before writing out the code.
609
-
610
- == Version 0.5.9
611
- This release improves test2spec by allowing more control over the output
612
-
613
- * Added --template option to test2spec, which allows for custom output driven by ERB
614
- * Added --quiet option to test2spec
615
- * Removed unnecessary dependency on RubyToC
616
-
617
- == Version 0.5.8
618
- This release features a new Test::Unit to RSpec translation tool.
619
- Also note that the RubyGem of the previous release (0.5.7) was corrupt.
620
- We're close to being able to translate all of RSpec's own Test::Unit
621
- tests and have them run successfully!
622
-
623
- * Updated test2spec documentation.
624
- * Replaced old test2rspec with a new test2spec, which is based on ParseTree and RubyInline.
625
-
626
- == Version 0.5.7
627
- This release changes examples and documentation to recommend underscores rather than dots,
628
- and addresses some bugfixes and changes to the spec commandline.
629
-
630
- * spec DIR now works correctly, recursing down and slurping all *.rb files
631
- * All documentation and examples are now using '_' instead of '.'
632
- * Custom external formatters can now be specified via --require and --format.
633
-
634
- == Version 0.5.6
635
- This release fixes a bug in the Rails controller generator
636
-
637
- * The controller generator did not write correct source code (missing 'do'). Fixed.
638
-
639
- == Version 0.5.5
640
- This release adds initial support for Ruby on Rails in the rspec_generator gem.
641
-
642
- * [Rails] Reorganised Lachie's original code to be a generator packaged as a gem rather than a plugin.
643
- * [Rails] Imported code from http://lachie.info/svn/projects/rails_plugins/rspec_on_rails (Written by Lachie Cox)
644
- * Remove stack trace lines from TextMate's Ruby bundle
645
- * Better error message from spectask when no spec files are found.
646
-
647
- == Version 0.5.4
648
- The "the tutorial is ahead of the gem" release
649
-
650
- * Support for running a single spec with --spec
651
- * Exitcode is now 1 unless all specs pass, in which case it's 0.
652
- * -v, --version now both mean the same thing
653
- * For what was verbose output (-v), use --format specdoc or -f s
654
- * --format rdoc always runs in dry-run mode
655
- * Removed --doc and added --format and --dry-run
656
- * Refactored towards more pluggable formatters
657
- * Use webgen's execute tag when generating website (more accurate)
658
- * Fixed incorrect quoting of spec_opts in SpecTask
659
- * Added patch to enable underscored shoulds like 1.should_equal(1) - patch from Rich Kilmer
660
- * Removed most inherited instance method from Mock, making more methods mockable.
661
- * Made the RCovVerify task part of the standard toolset.
662
- * Documented Rake task and how to use it with Rcov
663
- * Implemented <ruby></ruby> tags for website (hooking into ERB, RedCloth and syntax)
664
- * RSpec Rake task now takes spec_opts and out params so it can be used for doc generation
665
- * RCov integration for RSpec Rake task (#4058)
666
- * Group all results instead of printing them several times (#4057)
667
- * Mocks can now yield
668
- * Various improvements to error reporting (including #4191)
669
- * backtrace excludes rspec code - use -b to include it
670
- * split examples into examples (passing) and failing_examples
671
-
672
- == Version 0.5.3
673
- The "hurry up, CoR is in two days" release.
674
-
675
- * Don't run rcov by default
676
- * Make separate task for running tests with RCov
677
- * Added Rake task to fail build if coverage drops below a certain threshold
678
- * Even more failure output cleanup (simplification)
679
- * Added duck_type constraint for mocks
680
-
681
- == Version 0.5.2
682
- This release has minor improvements to the commandline and fixes some gem warnings
683
-
684
- * Readded README to avoid RDoc warnings
685
- * Added --version switch to commandline
686
- * More changes to the mock API
687
-
688
- == Version 0.5.1
689
- This release is the first release of RSpec with a new website. It will look better soon.
690
-
691
- * Added initial documentation for API
692
- * Added website based on webgen
693
- * Modified test task to use rcov
694
- * Deleted unused code (thanks, rcov!)
695
- * Various changes to the mock API,
696
- * Various improvements to failure reporting
697
-
698
- == Version 0.5.0
699
- This release introduces a new API and obsolesces previous versions.
700
-
701
- * Moved source code to separate subfolders
702
- * Added new DSL runner based on instance_exec
703
- * Added spike for testdox/rdoc generation
704
- * merge Astels' and Chelimsky's work on ShouldHelper
705
- * this would be 0.5.0 if I updated the documentation
706
- * it breaks all of your existing specifications. We're not sorry.
707
-
708
- == Version 0.3.2
709
-
710
- The "srbaker is an idiot" release.
711
-
712
- * also forgot to update the path to the actual Subversion repository
713
- * this should be it
714
-
715
- == Version 0.3.1
716
-
717
- This is just 0.3.0, but with the TUTORIAL added to the documentation list.
718
-
719
- * forgot to include TUTORIAL in the documentation
720
-
721
- == Version 0.3.0
722
-
723
- It's been a while since last release, lots of new stuff is available. For instance:
724
-
725
- * improvements to the runners
726
- * addition of should_raise expectation (thanks to Brian Takita)
727
- * some documentation improvements
728
- * RSpec usable as a DSL
729
-
730
- == Version 0.2.0
731
-
732
- This release provides a tutorial for new users wishing to get started with
733
- RSpec, and many improvements.
734
-
735
- * improved reporting in the spec runner output
736
- * update the examples to the new mock api
737
- * added TUTORIAL, a getting started document for new users of RSpec
738
-
739
- == Version 0.1.7
740
-
741
- This release improves installation and documentation, mock integration and error reporting.
742
-
743
- * Comparison errors now print the class name too.
744
- * Mocks now take an optional +options+ parameter to specify behaviour.
745
- * Removed __expects in favour of should_receive
746
- * Added line number reporting in mock error messages for unreceived message expectations.
747
- * Added should_match and should_not_match.
748
- * Added a +mock+ method to Spec::Context which will create mocks that autoverify (no need to call __verify).
749
- * Mocks now require names in the constructor to ensure sensible error messages.
750
- * Made 'spec' executable and updated usage instructions in README accordingly.
751
- * Made more parts of the Spec::Context API private to avoid accidental usage.
752
- * Added more RDoc to Spec::Context.
753
-
754
- == Version 0.1.6
755
-
756
- More should methods.
757
-
758
- * Added should_match and should_not_match.
759
-
760
- == Version 0.1.5
761
-
762
- Included examples and tests in gem.
763
-
764
- == Version 0.1.4
765
-
766
- More tests on block based Mock expectations.
767
-
768
- == Version 0.1.3
769
-
770
- Improved mocking:
771
-
772
- * block based Mock expectations.
773
-
774
- == Version 0.1.2
775
-
776
- This release adds some improvements to the mock API and minor syntax improvements
777
-
778
- * Added Mock.should_expect for a more consistent DSL.
779
- * Added MockExpectation.and_returns for a better DSL.
780
- * Made Mock behave as a null object after a call to Mock.ignore_missing
781
- * Internal syntax improvements.
782
- * Improved exception trace by adding exception class name to error message.
783
- * Renamed some tests for better consistency.
784
-
785
- == Version 0.1.1
786
-
787
- This release adds some shoulds and improves error reporting
788
-
789
- * Added should be_same_as and should_not be_same_as.
790
- * Improved error reporting for comparison expectations.
791
-
792
- == Version 0.1.0
793
-
794
- This is the first preview release of RSpec, a Behaviour-Driven Development library for Ruby
795
-
796
- * Added Rake script with tasks for gems, rdoc etc.
797
- * Added an XForge task to make release go easier.