rspec-rails 1.3.2 → 6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/.document +4 -6
- data/.yardopts +11 -0
- data/Capybara.md +28 -0
- data/Changelog.md +1286 -0
- data/LICENSE.md +25 -0
- data/README.md +381 -0
- data/lib/generators/rspec/channel/channel_generator.rb +12 -0
- data/lib/generators/rspec/channel/templates/channel_spec.rb.erb +7 -0
- data/lib/generators/rspec/controller/controller_generator.rb +51 -0
- data/lib/generators/rspec/controller/templates/controller_spec.rb +16 -0
- data/lib/generators/rspec/controller/templates/request_spec.rb +19 -0
- data/lib/generators/rspec/controller/templates/routing_spec.rb +13 -0
- data/lib/generators/rspec/controller/templates/view_spec.rb +5 -0
- data/lib/generators/rspec/feature/feature_generator.rb +29 -0
- data/lib/generators/rspec/feature/templates/feature_singular_spec.rb +5 -0
- data/lib/generators/rspec/feature/templates/feature_spec.rb +5 -0
- data/lib/generators/rspec/generator/generator_generator.rb +24 -0
- data/lib/generators/rspec/generator/templates/generator_spec.rb +5 -0
- data/lib/generators/rspec/helper/helper_generator.rb +16 -0
- data/lib/generators/rspec/helper/templates/helper_spec.rb +17 -0
- data/lib/generators/rspec/install/install_generator.rb +80 -0
- data/lib/generators/rspec/install/templates/spec/rails_helper.rb +84 -0
- data/lib/generators/rspec/integration/integration_generator.rb +29 -0
- data/lib/generators/rspec/job/job_generator.rb +13 -0
- data/lib/generators/rspec/job/templates/job_spec.rb.erb +7 -0
- data/lib/generators/rspec/mailbox/mailbox_generator.rb +14 -0
- data/lib/generators/rspec/mailbox/templates/mailbox_spec.rb.erb +7 -0
- data/lib/generators/rspec/mailer/mailer_generator.rb +30 -0
- data/lib/generators/rspec/mailer/templates/fixture +3 -0
- data/lib/generators/rspec/mailer/templates/mailer_spec.rb +25 -0
- data/lib/generators/rspec/mailer/templates/preview.rb +13 -0
- data/lib/generators/rspec/model/model_generator.rb +37 -0
- data/lib/generators/rspec/model/templates/fixtures.yml +19 -0
- data/lib/generators/rspec/model/templates/model_spec.rb +7 -0
- data/lib/generators/rspec/request/request_generator.rb +17 -0
- data/lib/generators/rspec/request/templates/request_spec.rb +10 -0
- data/lib/generators/rspec/scaffold/scaffold_generator.rb +136 -0
- data/lib/generators/rspec/scaffold/templates/api_controller_spec.rb +129 -0
- data/lib/generators/rspec/scaffold/templates/api_request_spec.rb +131 -0
- data/lib/generators/rspec/scaffold/templates/controller_spec.rb +160 -0
- data/lib/generators/rspec/scaffold/templates/edit_spec.rb +27 -0
- data/lib/generators/rspec/scaffold/templates/index_spec.rb +26 -0
- data/lib/generators/rspec/scaffold/templates/new_spec.rb +22 -0
- data/lib/generators/rspec/scaffold/templates/request_spec.rb +153 -0
- data/lib/generators/rspec/scaffold/templates/routing_spec.rb +46 -0
- data/lib/generators/rspec/scaffold/templates/show_spec.rb +21 -0
- data/lib/generators/rspec/system/system_generator.rb +24 -0
- data/lib/generators/rspec/system/templates/system_spec.rb +9 -0
- data/lib/generators/rspec/view/templates/view_spec.rb +5 -0
- data/lib/generators/rspec/view/view_generator.rb +22 -0
- data/lib/generators/rspec.rb +56 -0
- data/lib/rspec/rails/active_record.rb +25 -0
- data/lib/rspec/rails/adapters.rb +196 -0
- data/lib/rspec/rails/configuration.rb +222 -0
- data/lib/rspec/rails/example/channel_example_group.rb +93 -0
- data/lib/rspec/rails/example/controller_example_group.rb +217 -0
- data/lib/rspec/rails/example/feature_example_group.rb +53 -0
- data/lib/rspec/rails/example/helper_example_group.rb +42 -0
- data/lib/rspec/rails/example/job_example_group.rb +23 -0
- data/lib/rspec/rails/example/mailbox_example_group.rb +80 -0
- data/lib/rspec/rails/example/mailer_example_group.rb +38 -0
- data/lib/rspec/rails/example/model_example_group.rb +11 -0
- data/lib/rspec/rails/example/rails_example_group.rb +25 -0
- data/lib/rspec/rails/example/request_example_group.rb +27 -0
- data/lib/rspec/rails/example/routing_example_group.rb +61 -0
- data/lib/rspec/rails/example/system_example_group.rb +172 -0
- data/lib/rspec/rails/example/view_example_group.rb +214 -0
- data/lib/rspec/rails/example.rb +13 -0
- data/lib/rspec/rails/extensions/active_record/proxy.rb +11 -0
- data/lib/rspec/rails/extensions.rb +1 -0
- data/lib/rspec/rails/feature_check.rb +51 -0
- data/lib/rspec/rails/file_fixture_support.rb +18 -0
- data/lib/rspec/rails/fixture_file_upload_support.rb +45 -0
- data/lib/rspec/rails/fixture_support.rb +89 -0
- data/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb +173 -0
- data/lib/rspec/rails/matchers/action_cable/have_streams.rb +58 -0
- data/lib/rspec/rails/matchers/action_cable.rb +65 -0
- data/lib/rspec/rails/matchers/action_mailbox.rb +73 -0
- data/lib/rspec/rails/matchers/active_job.rb +465 -0
- data/lib/rspec/rails/matchers/base_matcher.rb +179 -0
- data/lib/rspec/rails/matchers/be_a_new.rb +83 -0
- data/lib/rspec/rails/matchers/be_new_record.rb +30 -0
- data/lib/rspec/rails/matchers/be_valid.rb +49 -0
- data/lib/rspec/rails/matchers/have_enqueued_mail.rb +227 -0
- data/lib/rspec/rails/matchers/have_http_status.rb +385 -0
- data/lib/rspec/rails/matchers/have_rendered.rb +64 -0
- data/lib/rspec/rails/matchers/redirect_to.rb +38 -0
- data/lib/rspec/rails/matchers/relation_match_array.rb +3 -0
- data/lib/rspec/rails/matchers/routing_matchers.rb +125 -0
- data/lib/rspec/rails/matchers/send_email.rb +122 -0
- data/lib/rspec/rails/matchers.rb +36 -0
- data/lib/rspec/rails/tasks/rspec.rake +47 -0
- data/lib/rspec/rails/vendor/capybara.rb +32 -0
- data/lib/rspec/rails/version.rb +9 -0
- data/lib/rspec/rails/view_assigns.rb +27 -0
- data/lib/rspec/rails/view_path_builder.rb +29 -0
- data/lib/rspec/rails/view_rendering.rb +166 -0
- data/lib/rspec/rails/view_spec_methods.rb +56 -0
- data/lib/rspec/rails.rb +18 -0
- data/lib/rspec-rails.rb +80 -0
- data.tar.gz.sig +2 -0
- metadata +308 -261
- metadata.gz.sig +0 -0
- data/Contribute.rdoc +0 -4
- data/History.rdoc +0 -302
- data/License.txt +0 -33
- data/Manifest.txt +0 -165
- data/README.rdoc +0 -45
- data/Rakefile +0 -72
- data/TODO.txt +0 -17
- data/Upgrade.rdoc +0 -148
- data/generators/integration_spec/integration_spec_generator.rb +0 -10
- data/generators/integration_spec/templates/integration_spec.rb +0 -4
- data/generators/rspec/CHANGES +0 -1
- data/generators/rspec/rspec_generator.rb +0 -72
- data/generators/rspec/templates/previous_failures.txt +0 -0
- data/generators/rspec/templates/rcov.opts +0 -2
- data/generators/rspec/templates/rspec.rake +0 -144
- data/generators/rspec/templates/script/autospec +0 -6
- data/generators/rspec/templates/script/spec +0 -10
- data/generators/rspec/templates/spec.opts +0 -4
- data/generators/rspec/templates/spec_helper.rb +0 -54
- data/generators/rspec_controller/USAGE +0 -33
- data/generators/rspec_controller/rspec_controller_generator.rb +0 -47
- data/generators/rspec_controller/templates/controller_spec.rb +0 -25
- data/generators/rspec_controller/templates/helper_spec.rb +0 -11
- data/generators/rspec_controller/templates/view_spec.rb +0 -12
- data/generators/rspec_default_values.rb +0 -28
- data/generators/rspec_model/USAGE +0 -18
- data/generators/rspec_model/rspec_model_generator.rb +0 -35
- data/generators/rspec_model/templates/model_spec.rb +0 -13
- data/generators/rspec_scaffold/rspec_scaffold_generator.rb +0 -154
- data/generators/rspec_scaffold/templates/controller_spec.rb +0 -131
- data/generators/rspec_scaffold/templates/edit_erb_spec.rb +0 -25
- data/generators/rspec_scaffold/templates/helper_spec.rb +0 -11
- data/generators/rspec_scaffold/templates/index_erb_spec.rb +0 -27
- data/generators/rspec_scaffold/templates/new_erb_spec.rb +0 -25
- data/generators/rspec_scaffold/templates/routing_spec.rb +0 -33
- data/generators/rspec_scaffold/templates/show_erb_spec.rb +0 -22
- data/init.rb +0 -9
- data/lib/autotest/discover.rb +0 -5
- data/lib/autotest/rails_rspec.rb +0 -76
- data/lib/spec/rails/example/assigns_hash_proxy.rb +0 -39
- data/lib/spec/rails/example/controller_example_group.rb +0 -285
- data/lib/spec/rails/example/cookies_proxy.rb +0 -29
- data/lib/spec/rails/example/functional_example_group.rb +0 -106
- data/lib/spec/rails/example/helper_example_group.rb +0 -153
- data/lib/spec/rails/example/integration_example_group.rb +0 -16
- data/lib/spec/rails/example/model_example_group.rb +0 -15
- data/lib/spec/rails/example/render_observer.rb +0 -80
- data/lib/spec/rails/example/routing_example_group.rb +0 -13
- data/lib/spec/rails/example/routing_helpers.rb +0 -66
- data/lib/spec/rails/example/view_example_group.rb +0 -199
- data/lib/spec/rails/example.rb +0 -48
- data/lib/spec/rails/extensions/action_controller/rescue.rb +0 -42
- data/lib/spec/rails/extensions/action_controller/test_case.rb +0 -16
- data/lib/spec/rails/extensions/action_controller/test_response.rb +0 -21
- data/lib/spec/rails/extensions/action_view/base.rb +0 -33
- data/lib/spec/rails/extensions/active_record/base.rb +0 -45
- data/lib/spec/rails/extensions/active_support/test_case.rb +0 -7
- data/lib/spec/rails/extensions/spec/matchers/have.rb +0 -23
- data/lib/spec/rails/extensions/spec/runner/configuration.rb +0 -44
- data/lib/spec/rails/extensions.rb +0 -11
- data/lib/spec/rails/interop/testcase.rb +0 -14
- data/lib/spec/rails/matchers/ar_be_valid.rb +0 -27
- data/lib/spec/rails/matchers/assert_select.rb +0 -180
- data/lib/spec/rails/matchers/change.rb +0 -13
- data/lib/spec/rails/matchers/have_text.rb +0 -57
- data/lib/spec/rails/matchers/include_text.rb +0 -54
- data/lib/spec/rails/matchers/redirect_to.rb +0 -126
- data/lib/spec/rails/matchers/render_template.rb +0 -129
- data/lib/spec/rails/matchers/route_to.rb +0 -149
- data/lib/spec/rails/matchers.rb +0 -32
- data/lib/spec/rails/mocks.rb +0 -136
- data/lib/spec/rails/version.rb +0 -16
- data/lib/spec/rails.rb +0 -26
- data/spec/autotest/mappings_spec.rb +0 -86
- data/spec/rails_suite.rb +0 -7
- data/spec/resources/controllers/action_view_base_spec_controller.rb +0 -2
- data/spec/resources/controllers/application.rb +0 -9
- data/spec/resources/controllers/controller_spec_controller.rb +0 -127
- data/spec/resources/controllers/example.txt +0 -1
- data/spec/resources/controllers/redirect_spec_controller.rb +0 -70
- data/spec/resources/controllers/render_spec_controller.rb +0 -34
- data/spec/resources/controllers/rjs_spec_controller.rb +0 -58
- data/spec/resources/helpers/addition_helper.rb +0 -5
- data/spec/resources/helpers/explicit_helper.rb +0 -46
- data/spec/resources/helpers/more_explicit_helper.rb +0 -5
- data/spec/resources/helpers/plugin_application_helper.rb +0 -6
- data/spec/resources/helpers/view_spec_helper.rb +0 -13
- data/spec/resources/models/animal.rb +0 -4
- data/spec/resources/models/person.rb +0 -18
- data/spec/resources/models/thing.rb +0 -3
- data/spec/resources/views/controller_spec/_partial.html.erb +0 -0
- data/spec/resources/views/controller_spec/action_setting_flash_after_session_reset.html.erb +0 -1
- data/spec/resources/views/controller_spec/action_setting_flash_before_session_reset.html.erb +0 -1
- data/spec/resources/views/controller_spec/action_setting_the_assigns_hash.html.erb +0 -0
- data/spec/resources/views/controller_spec/action_with_errors_in_template.html.erb +0 -1
- data/spec/resources/views/controller_spec/action_with_template.html.erb +0 -1
- data/spec/resources/views/layouts/application.html.erb +0 -0
- data/spec/resources/views/layouts/simple.html.erb +0 -0
- data/spec/resources/views/objects/_object.html.erb +0 -1
- data/spec/resources/views/render_spec/_a_partial.html.erb +0 -0
- data/spec/resources/views/render_spec/action_with_alternate_layout.html.erb +0 -0
- data/spec/resources/views/render_spec/some_action.html.erb +0 -0
- data/spec/resources/views/render_spec/some_action.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/_replacement_partial.html.erb +0 -1
- data/spec/resources/views/rjs_spec/hide_div.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/hide_page_element.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/insert_html.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/replace.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/replace_html.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/replace_html_with_partial.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/visual_effect.js.rjs +0 -1
- data/spec/resources/views/rjs_spec/visual_toggle_effect.js.rjs +0 -1
- data/spec/resources/views/tag_spec/no_tags.html.erb +0 -1
- data/spec/resources/views/tag_spec/single_div_with_no_attributes.html.erb +0 -1
- data/spec/resources/views/tag_spec/single_div_with_one_attribute.html.erb +0 -1
- data/spec/resources/views/view_spec/_partial.html.erb +0 -2
- data/spec/resources/views/view_spec/_partial_used_twice.html.erb +0 -0
- data/spec/resources/views/view_spec/_partial_with_local_variable.html.erb +0 -1
- data/spec/resources/views/view_spec/_partial_with_sub_partial.html.erb +0 -1
- data/spec/resources/views/view_spec/_spacer.html.erb +0 -1
- data/spec/resources/views/view_spec/accessor.html.erb +0 -6
- data/spec/resources/views/view_spec/block_helper.html.erb +0 -3
- data/spec/resources/views/view_spec/entry_form.html.erb +0 -2
- data/spec/resources/views/view_spec/explicit_helper.html.erb +0 -2
- data/spec/resources/views/view_spec/foo/show.html.erb +0 -1
- data/spec/resources/views/view_spec/implicit_helper.html.erb +0 -2
- data/spec/resources/views/view_spec/multiple_helpers.html.erb +0 -3
- data/spec/resources/views/view_spec/path_params.html.erb +0 -1
- data/spec/resources/views/view_spec/should_not_receive.html.erb +0 -3
- data/spec/resources/views/view_spec/template_with_partial.html.erb +0 -5
- data/spec/resources/views/view_spec/template_with_partial_using_collection.html.erb +0 -3
- data/spec/resources/views/view_spec/template_with_partial_with_array.html.erb +0 -1
- data/spec/resources/views/view_spec/view_helpers.html.erb +0 -1
- data/spec/spec/rails/example/assigns_hash_proxy_spec.rb +0 -109
- data/spec/spec/rails/example/configuration_spec.rb +0 -65
- data/spec/spec/rails/example/controller_example_group_spec.rb +0 -307
- data/spec/spec/rails/example/controller_isolation_spec.rb +0 -75
- data/spec/spec/rails/example/cookies_proxy_spec.rb +0 -87
- data/spec/spec/rails/example/error_handling_spec.rb +0 -90
- data/spec/spec/rails/example/example_group_factory_spec.rb +0 -112
- data/spec/spec/rails/example/helper_example_group_spec.rb +0 -233
- data/spec/spec/rails/example/model_example_group_spec.rb +0 -32
- data/spec/spec/rails/example/routing_example_group_spec.rb +0 -10
- data/spec/spec/rails/example/shared_routing_example_group_examples.rb +0 -237
- data/spec/spec/rails/example/test_unit_assertion_accessibility_spec.rb +0 -33
- data/spec/spec/rails/example/view_example_group_spec.rb +0 -346
- data/spec/spec/rails/extensions/action_view_base_spec.rb +0 -74
- data/spec/spec/rails/extensions/active_record_spec.rb +0 -14
- data/spec/spec/rails/interop/testcase_spec.rb +0 -70
- data/spec/spec/rails/matchers/ar_be_valid_spec.rb +0 -19
- data/spec/spec/rails/matchers/assert_select_spec.rb +0 -835
- data/spec/spec/rails/matchers/errors_on_spec.rb +0 -37
- data/spec/spec/rails/matchers/have_text_spec.rb +0 -69
- data/spec/spec/rails/matchers/include_text_spec.rb +0 -62
- data/spec/spec/rails/matchers/redirect_to_spec.rb +0 -253
- data/spec/spec/rails/matchers/render_template_spec.rb +0 -208
- data/spec/spec/rails/matchers/should_change_spec.rb +0 -15
- data/spec/spec/rails/mocks/ar_classes.rb +0 -10
- data/spec/spec/rails/mocks/mock_model_spec.rb +0 -109
- data/spec/spec/rails/mocks/stub_model_spec.rb +0 -80
- data/spec/spec/rails/sample_modified_fixture.rb +0 -8
- data/spec/spec/rails/sample_spec.rb +0 -8
- data/spec/spec/rails/spec_spec.rb +0 -11
- data/spec/spec_helper.rb +0 -78
data/Changelog.md
ADDED
@@ -0,0 +1,1286 @@
|
|
1
|
+
### Development
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.1...6-1-maintenance)
|
3
|
+
|
4
|
+
### 6.1.2 / 2024-03-19
|
5
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.1...v6.1.2)
|
6
|
+
|
7
|
+
Bug Fixes:
|
8
|
+
|
9
|
+
* Fix generated mailer paths to match Rails convention. (Patrício dos Santos, #2735)
|
10
|
+
* Fix class in template for generator specs. (Nicolas Buduroi, #2744)
|
11
|
+
|
12
|
+
### 6.1.1 / 2024-01-25
|
13
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.0...v6.1.1)
|
14
|
+
|
15
|
+
Bug Fixes:
|
16
|
+
|
17
|
+
* Improved deprecation message for `RSpec::Rails::Configuration.fixture_paths`
|
18
|
+
(Benoit Tigeot, #2720)
|
19
|
+
* Fix support for namespaced fixtures in Rails 7.1. (Benedikt Deicke, #2716)
|
20
|
+
|
21
|
+
### 6.1.0 / 2023-11-21
|
22
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.4...v6.1.0)
|
23
|
+
|
24
|
+
Enhancements:
|
25
|
+
|
26
|
+
* Support for Rails 7.1
|
27
|
+
* Minor tweak to generated `rails_helper.rb` to use `Rails.root.join`.
|
28
|
+
(@masato-bkn, Ryo Nakamura, #2640, #2678)
|
29
|
+
* Add `RSpec::Rails::Configuration.fixture_paths` configuration to support
|
30
|
+
the matching change to `ActiveRecord::TestFixtures`, previous singular
|
31
|
+
form is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, #2673)
|
32
|
+
* Add `send_email` matcher to match emails rather than specific jobs.
|
33
|
+
(Andrei Kaleshka, #2670)
|
34
|
+
* When using `render` in view specs, `:locals` will now be merged into the
|
35
|
+
default implicit template, allowing `render locals: {...}` style calls.
|
36
|
+
(Jon Rowe, #2686)
|
37
|
+
* Add support for `Rails.config.action_mailer.preview_paths` on Rails 7.1/
|
38
|
+
(Jon Rowe, #2706)
|
39
|
+
|
40
|
+
### 6.0.4 / 2023-11-21
|
41
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.3...v6.0.4)
|
42
|
+
|
43
|
+
Bug Fixes:
|
44
|
+
|
45
|
+
* Fuzzy match `have_broadcasted_to` so that argument matchers can be used.
|
46
|
+
(Timothy Peraza, #2684)
|
47
|
+
* Fix fixture warning during `:context` hooks on Rails `main`. (Jon Rowe, #2685)
|
48
|
+
* Fix `stub_template` on Rails `main`. (Jon Rowe, #2685)
|
49
|
+
* Fix variable name in scaffolded view specs when namespaced. (Taketo Takashima, #2694)
|
50
|
+
* Prevent `take_failed_screenshot` producing an additional error through `metadata`
|
51
|
+
access. (Jon Rowe, #2704)
|
52
|
+
* Use `ActiveSupport::ExecutionContext::TestHelper` on Rails 7+. (Jon Rowe, #2711)
|
53
|
+
* Fix leak of templates stubbed with `stub_template` on Rails 7.1. (Jon Rowe, #2714)
|
54
|
+
|
55
|
+
### 6.0.3 / 2023-05-31
|
56
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.2...v6.0.3)
|
57
|
+
|
58
|
+
Bug Fixes:
|
59
|
+
|
60
|
+
* Set `ActiveStorage::FixtureSet.file_fixture_path` when including file fixture support.
|
61
|
+
(Jason Yates, #2671)
|
62
|
+
* Allow `broadcast_to` matcher to take Symbols. (@Vagab, #2680)
|
63
|
+
|
64
|
+
### 6.0.2 / 2023-05-04
|
65
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.1...v6.0.2)
|
66
|
+
|
67
|
+
Bug Fixes:
|
68
|
+
|
69
|
+
* Fix ActionView::PathSet when `render_views` is off for Rails 7.1.
|
70
|
+
(Eugene Kenny, Iliana, #2631)
|
71
|
+
* Support Rails 7.1's `#fixtures_paths` in example groups (removes a deprecation warning).
|
72
|
+
(Nicholas Simmons, #2664)
|
73
|
+
* Fix `have_enqueued_job` to properly detect enqueued jobs when other jobs were
|
74
|
+
performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #2573)
|
75
|
+
|
76
|
+
### 6.0.1 / 2022-10-18
|
77
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...v6.0.1)
|
78
|
+
|
79
|
+
Bug Fixes:
|
80
|
+
|
81
|
+
* Prevent tagged logged support in Rails 7 calling `#name`. (Jon Rowe, #2625)
|
82
|
+
|
83
|
+
### 6.0.0 / 2022-10-10
|
84
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.2...v6.0.0)
|
85
|
+
|
86
|
+
Enhancements:
|
87
|
+
|
88
|
+
* Support Rails 7
|
89
|
+
* Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, #2599)
|
90
|
+
* Generators now respects default path configuration option. (@vivekmiyani, #2508)
|
91
|
+
|
92
|
+
Breaking Changes:
|
93
|
+
|
94
|
+
* Drop support for Rails below 6.1
|
95
|
+
* Drop support for Ruby below 2.5 (following supported versions of Rails 6.1)
|
96
|
+
* Change the order of `after_teardown` from `after` to `around` in system
|
97
|
+
specs to improve compatibility with extensions and Capybara. (Tim Diggins, #2596)
|
98
|
+
|
99
|
+
Deprecations:
|
100
|
+
|
101
|
+
* Deprecates integration spec generator (`rspec:integration`)
|
102
|
+
which was an alias of request spec generator (`rspec:request`)
|
103
|
+
(Luka Lüdicke, #2374)
|
104
|
+
|
105
|
+
### 5.1.2 / 2022-04-24
|
106
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.1...v5.1.2)
|
107
|
+
|
108
|
+
Bug Fixes:
|
109
|
+
|
110
|
+
* Fix controller scaffold templates parameter name. (Taketo Takashima, #2591)
|
111
|
+
* Include generator specs in the inferred list of specs. (Jason Karns, #2597)
|
112
|
+
|
113
|
+
### 5.1.1 / 2022-03-07
|
114
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.0...v5.1.1)
|
115
|
+
|
116
|
+
Bug Fixes:
|
117
|
+
|
118
|
+
* Properly handle global id serialised arguments in `have_enqueued_mail`.
|
119
|
+
(Jon Rowe, #2578)
|
120
|
+
|
121
|
+
### 5.1.0 / 2022-01-26
|
122
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.3...v5.1.0)
|
123
|
+
|
124
|
+
Enhancements:
|
125
|
+
|
126
|
+
* Make the API request scaffold template more consistent and compatible with
|
127
|
+
Rails 6.1. (Naoto Hamada, #2484)
|
128
|
+
* Change the scaffold `rails_helper.rb` template to use `require_relative`.
|
129
|
+
(Jon Dufresne, #2528)
|
130
|
+
|
131
|
+
### 5.0.3 / 2022-01-26
|
132
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.2...v5.0.3)
|
133
|
+
|
134
|
+
Bug Fixes:
|
135
|
+
|
136
|
+
* Properly name params in controller and request spec templates when
|
137
|
+
using the `--model-name` parameter. (@kenzo-tanaka, #2534)
|
138
|
+
* Fix parameter matching with mail delivery job and
|
139
|
+
ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546)
|
140
|
+
* Fix Rails 7 `have_enqueued_mail` compatibility (Mikael Henriksson, #2537, #2546)
|
141
|
+
|
142
|
+
### 5.0.2 / 2021-08-14
|
143
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.1...v5.0.2)
|
144
|
+
|
145
|
+
Bug Fixes:
|
146
|
+
|
147
|
+
* Prevent generated job specs from duplicating `_job` in filenames.
|
148
|
+
(Nick Flückiger, #2496)
|
149
|
+
* Fix `ActiveRecord::TestFixture#uses_transaction` by using example description
|
150
|
+
to replace example name rather than example in our monkey patched
|
151
|
+
`run_in_transaction?` method. (Stan Lo, #2495)
|
152
|
+
* Prevent keyword arguments being lost when methods are invoked dynamically
|
153
|
+
in controller specs. (Josh Cheek, #2509, #2514)
|
154
|
+
|
155
|
+
### 5.0.1 / 2021-03-18
|
156
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)
|
157
|
+
|
158
|
+
Bug Fixes:
|
159
|
+
|
160
|
+
* Limit multibyte example descriptions when used in system tests for #method_name
|
161
|
+
which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
|
162
|
+
|
163
|
+
### 5.0.0 / 2021-03-09
|
164
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...v5.0.0)
|
165
|
+
|
166
|
+
Enhancements:
|
167
|
+
|
168
|
+
* Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398)
|
169
|
+
* Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398)
|
170
|
+
|
171
|
+
Breaking Changes:
|
172
|
+
|
173
|
+
* Drop support for Rails below 5.2.
|
174
|
+
|
175
|
+
### 4.1.1 / 2021-03-09
|
176
|
+
|
177
|
+
Bug Fixes:
|
178
|
+
|
179
|
+
* Remove generated specs when destroying a generated controller.
|
180
|
+
(@Naokimi, #2475)
|
181
|
+
|
182
|
+
### 4.1.0 / 2021-03-06
|
183
|
+
|
184
|
+
Enhancements:
|
185
|
+
|
186
|
+
* Issue a warning when using job matchers with `#at` mismatch on `usec` precision.
|
187
|
+
(Jon Rowe, #2350)
|
188
|
+
* Generated request specs now have a bare `_spec` suffix instead of `request_spec`.
|
189
|
+
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
|
190
|
+
* Generated scaffold now includes engine route helpers when inside a mountable engine.
|
191
|
+
(Andrew W. Lee, #2372)
|
192
|
+
* Improve request spec "controller" scaffold when no action is specified.
|
193
|
+
(Thomas Hareau, #2399)
|
194
|
+
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
|
195
|
+
* Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
|
196
|
+
Rails. (Benoit Tigeot, #2461)
|
197
|
+
|
198
|
+
### 4.0.2 / 2020-12-26
|
199
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...v4.0.2)
|
200
|
+
|
201
|
+
Bug Fixes:
|
202
|
+
|
203
|
+
* Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
|
204
|
+
* Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344)
|
205
|
+
* Return `true`/`false` from predicate methods in config rather than raw values.
|
206
|
+
(Phil Pirozhkov, Jon Rowe, #2353, #2354)
|
207
|
+
* Remove old #fixture_path feature detection code which broke under newer Rails.
|
208
|
+
(Koen Punt, Jon Rowe, #2370)
|
209
|
+
* Fix an error when `use_active_record` is `false` (Phil Pirozhkov, #2423)
|
210
|
+
|
211
|
+
### 4.0.1 / 2020-05-16
|
212
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0...v4.0.1)
|
213
|
+
|
214
|
+
Bug Fixes:
|
215
|
+
|
216
|
+
* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302)
|
217
|
+
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
|
218
|
+
* Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob`
|
219
|
+
is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
|
220
|
+
* Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
|
221
|
+
* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)
|
222
|
+
|
223
|
+
### 4.0.0 / 2020-03-24
|
224
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
|
225
|
+
|
226
|
+
Enhancements:
|
227
|
+
|
228
|
+
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
|
229
|
+
* Adds support for JRuby on Rails 5.2 and 6
|
230
|
+
* Add support for parameterised mailers (Ignatius Reza, #2125)
|
231
|
+
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
|
232
|
+
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
|
233
|
+
* Add support for partial args when using `have_enqueued_mail`
|
234
|
+
(Ignatius Reza, #2118, #2125)
|
235
|
+
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
|
236
|
+
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
|
237
|
+
* Add routing spec template as an option for generating controller specs.
|
238
|
+
(David Revelo, #2134)
|
239
|
+
* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
|
240
|
+
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
|
241
|
+
* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
|
242
|
+
matchers (Isaac Seymour, #1785)
|
243
|
+
* Default to generating request specs rather than controller specs when
|
244
|
+
generating a controller (Luka Lüdicke, #2222)
|
245
|
+
* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283)
|
246
|
+
* The scaffold generator now generates request specs in preference to controller specs.
|
247
|
+
(Luka Lüdicke, #2288)
|
248
|
+
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
|
249
|
+
* Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs.
|
250
|
+
(ta1kt0me, Benoit Tigeot, #2289)
|
251
|
+
|
252
|
+
Bug Fixes:
|
253
|
+
|
254
|
+
* `EmptyTemplateHandler.call` now needs to support an additional argument in
|
255
|
+
Rails 6. (Pavel Rosický, #2089)
|
256
|
+
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
|
257
|
+
deprecated. (Pavel Rosický, #2092)
|
258
|
+
* `ActionView::Template#formats` has been deprecated and replaced by
|
259
|
+
`ActionView::Template#format`(Seb Jacobs, #2100)
|
260
|
+
* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
|
261
|
+
are generated correctly. (Jon Rowe, #2164)
|
262
|
+
* `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
|
263
|
+
(Penelope Phippen, #2076)
|
264
|
+
* Prevent `driven_by(:selenium)` being called due to hook precedence.
|
265
|
+
(Takumi Shotoku, #2188)
|
266
|
+
* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
|
267
|
+
6.1 development version. (Edouard Chin, #2215)
|
268
|
+
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
|
269
|
+
* Restore previous conditional check for setting `default_url_options` in feature
|
270
|
+
specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
|
271
|
+
* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
|
272
|
+
(Jonathan Rochkind, #2242)
|
273
|
+
* `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
|
274
|
+
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)
|
275
|
+
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
|
276
|
+
|
277
|
+
Breaking Changes:
|
278
|
+
|
279
|
+
* Drops support for Rails below 5.0
|
280
|
+
* Drops support for Ruby below 2.3
|
281
|
+
|
282
|
+
### 3.9.1 / 2020-03-10
|
283
|
+
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1)
|
284
|
+
|
285
|
+
Bug Fixes:
|
286
|
+
|
287
|
+
* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
|
288
|
+
|
289
|
+
### 3.9.0 / 2019-10-08
|
290
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
291
|
+
|
292
|
+
Enhancements
|
293
|
+
|
294
|
+
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
295
|
+
supported. (OKURA Masafumi, #2048)
|
296
|
+
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
297
|
+
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
298
|
+
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
299
|
+
* Add generator for generator specs. (@ConSou, #2085)
|
300
|
+
* Add option to generate routes when generating controller specs. (David Revelo, #2134)
|
301
|
+
|
302
|
+
Bug Fixes:
|
303
|
+
|
304
|
+
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
305
|
+
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
306
|
+
(Emric Istanful, #2069)
|
307
|
+
|
308
|
+
### 3.8.3 / 2019-10-03
|
309
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
310
|
+
|
311
|
+
Bug Fixes:
|
312
|
+
|
313
|
+
* Namespaced fixtures now generate a `/` separated path rather than an `_`.
|
314
|
+
(@nxlith, #2077)
|
315
|
+
* Check the arity of `errors` before attempting to use it to generate the `be_valid`
|
316
|
+
error message. (Kevin Kuchta, #2096)
|
317
|
+
|
318
|
+
### 3.8.2 / 2019-01-13
|
319
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
320
|
+
|
321
|
+
Bug Fixes:
|
322
|
+
|
323
|
+
* Fix issue with generator for preview specs where `Mailer` would be duplicated
|
324
|
+
in the name. (Kohei Sugi, #2037)
|
325
|
+
* Fix the request spec generator to handle namespaced files. (Kohei Sugi, #2057)
|
326
|
+
* Further truncate system test filenames to handle cases when extra words are
|
327
|
+
prepended. (Takumi Kaji, #2058)
|
328
|
+
* Backport: Make the `ActiveJob` matchers fail when multiple jobs are queued
|
329
|
+
for negated matches. e.g. `expect { job; job; }.to_not have_enqueued_job
|
330
|
+
(Emric Istanful, #2069)
|
331
|
+
|
332
|
+
### 3.8.1 / 2018-10-23
|
333
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
334
|
+
|
335
|
+
Bug Fixes:
|
336
|
+
|
337
|
+
* Fix `NoMethodError: undefined method 'strip'` when using a `Pathname` object
|
338
|
+
as the fixture file path. (Aaron Kromer, #2026)
|
339
|
+
* When generating feature specs, do not duplicate namespace in the path name.
|
340
|
+
(Laura Paakkinen, #2034)
|
341
|
+
* Prevent `ActiveJob::DeserializationError` from being issued when `ActiveJob`
|
342
|
+
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
343
|
+
|
344
|
+
### 3.8.0 / 2018-08-04
|
345
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
346
|
+
|
347
|
+
Enhancements:
|
348
|
+
|
349
|
+
* Improved message when migrations are pending in the default `rails_helper.rb`
|
350
|
+
(Koichi ITO, #1924)
|
351
|
+
* `have_http_status` matcher now supports Rails 5.2 style response symbols
|
352
|
+
(Douglas Lovell, #1951)
|
353
|
+
* Change generated Rails helper to match Rails standards for Rails.root
|
354
|
+
(Alessandro Rodi, #1960)
|
355
|
+
* At support for asserting enqueued jobs have no wait period attached.
|
356
|
+
(Brad Charna, #1977)
|
357
|
+
* Cache instances of `ActionView::Template` used in `stub_template` resulting
|
358
|
+
in increased performance due to less allocations and setup. (Simon Coffey, #1979)
|
359
|
+
* Rails scaffold generator now respects longer namespaces (e.g. api/v1/\<thing\>).
|
360
|
+
(Laura Paakkinen, #1958)
|
361
|
+
|
362
|
+
Bug Fixes:
|
363
|
+
|
364
|
+
* Escape quotation characters when producing method names for system spec
|
365
|
+
screenshots. (Shane Cavanaugh, #1955)
|
366
|
+
* Use relative path for resolving fixtures when `fixture_path` is not set.
|
367
|
+
(Laurent Cobos, #1943)
|
368
|
+
* Allow custom template resolvers in view specs. (@ahorek, #1941)
|
369
|
+
|
370
|
+
|
371
|
+
### 3.7.2 / 2017-11-20
|
372
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
|
373
|
+
|
374
|
+
Bug Fixes:
|
375
|
+
|
376
|
+
* Delay loading system test integration until used. (Jon Rowe, #1903)
|
377
|
+
* Ensure specs using the aggregate failures feature take screenshots on failure.
|
378
|
+
(Matt Brictson, #1907)
|
379
|
+
|
380
|
+
### 3.7.1 / 2017-10-18
|
381
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
382
|
+
|
383
|
+
Bug Fixes:
|
384
|
+
|
385
|
+
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
386
|
+
|
387
|
+
### 3.7.0 / 2017-10-17
|
388
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
389
|
+
|
390
|
+
Bug Fixes:
|
391
|
+
|
392
|
+
* Prevent "template not rendered" log message from erroring in threaded
|
393
|
+
environments. (Samuel Cochran, #1831)
|
394
|
+
* Correctly generate job name in error message. (Wojciech Wnętrzak, #1814)
|
395
|
+
|
396
|
+
Enhancements:
|
397
|
+
|
398
|
+
* Allow `be_a_new(...).with(...)` matcher to accept matchers for
|
399
|
+
attribute values. (Britni Alexander, #1811)
|
400
|
+
* Only configure RSpec Mocks if it is fully loaded. (James Adam, #1856)
|
401
|
+
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
402
|
+
|
403
|
+
### 3.6.0 / 2017-05-04
|
404
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
405
|
+
|
406
|
+
Enhancements:
|
407
|
+
|
408
|
+
* Add compatibility for Rails 5.1. (Sam Phippen, Yuichiro Kaneko, #1790)
|
409
|
+
|
410
|
+
Bug Fixes:
|
411
|
+
|
412
|
+
* Fix scaffold generator so that it does not generate broken controller specs
|
413
|
+
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
414
|
+
|
415
|
+
### 3.6.0.beta2 / 2016-12-12
|
416
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
417
|
+
|
418
|
+
Enhancements:
|
419
|
+
|
420
|
+
* Improve failure output of ActiveJob matchers by listing queued jobs.
|
421
|
+
(Wojciech Wnętrzak, #1722)
|
422
|
+
* Load `spec_helper.rb` earlier in `rails_helper.rb` by default.
|
423
|
+
(Kevin Glowacz, #1795)
|
424
|
+
|
425
|
+
### 3.6.0.beta1 / 2016-10-09
|
426
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
427
|
+
|
428
|
+
Enhancements:
|
429
|
+
|
430
|
+
* Add support for `rake notes` in Rails `>= 5.1`. (John Meehan, #1661)
|
431
|
+
* Remove `assigns` and `assert_template` from scaffold spec generators (Josh
|
432
|
+
Justice, #1689)
|
433
|
+
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
434
|
+
|
435
|
+
### 3.5.2 / 2016-08-26
|
436
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
437
|
+
|
438
|
+
Bug Fixes:
|
439
|
+
|
440
|
+
* Stop unnecessarily loading `rspec/core` from `rspec/rails` to avoid
|
441
|
+
IRB context warning. (Myron Marston, #1678)
|
442
|
+
* Deserialize arguments within ActiveJob matchers correctly.
|
443
|
+
(Wojciech Wnętrzak, #1684)
|
444
|
+
|
445
|
+
### 3.5.1 / 2016-07-08
|
446
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
447
|
+
|
448
|
+
Bug Fixes:
|
449
|
+
|
450
|
+
* Only attempt to load `ActionDispatch::IntegrationTest::Behavior` on Rails 5,
|
451
|
+
and above; Prevents possible `TypeError` when an existing `Behaviour` class
|
452
|
+
is defined. (#1660, Betesh).
|
453
|
+
|
454
|
+
### 3.5.0 / 2016-07-01
|
455
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
|
456
|
+
|
457
|
+
**No user facing changes since beta4**
|
458
|
+
|
459
|
+
### 3.5.0.beta4 / 2016-06-05
|
460
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
|
461
|
+
|
462
|
+
Enhancements:
|
463
|
+
|
464
|
+
* Add support for block when using `with` on `have_enqueued_job`. (John Schroeder, #1578)
|
465
|
+
* Add support for `file_fixture(...)`. (Wojciech Wnętrzak, #1587)
|
466
|
+
* Add support for `setup` and `teardown` with blocks (Miklós Fazekas, #1598)
|
467
|
+
* Add `enqueue_job ` alias for `have_enqueued_job`, support `once`/`twice`/
|
468
|
+
`thrice`, add `have_been_enqueued` matcher to support use without blocks.
|
469
|
+
(Sergey Alexandrovich, #1613)
|
470
|
+
|
471
|
+
Bug fixes:
|
472
|
+
|
473
|
+
* Prevent asset helpers from taking precedence over route helpers. (Prem Sichanugrist, #1496)
|
474
|
+
* Prevent `NoMethodError` during failed `have_rendered` assertions on weird templates.
|
475
|
+
(Jon Rowe, #1623).
|
476
|
+
|
477
|
+
### 3.5.0.beta3 / 2016-04-02
|
478
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
479
|
+
|
480
|
+
Enhancements:
|
481
|
+
|
482
|
+
* Add support for Rails 5 Beta 3 (Sam Phippen, Benjamin Quorning, Koen Punt, #1589, #1573)
|
483
|
+
|
484
|
+
Bug fixes:
|
485
|
+
|
486
|
+
* Support custom resolvers when preventing views from rendering.
|
487
|
+
(Jon Rowe, Benjamin Quorning, #1580)
|
488
|
+
|
489
|
+
### 3.5.0.beta2 / 2016-03-10
|
490
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
491
|
+
|
492
|
+
Enhancements:
|
493
|
+
|
494
|
+
* Include `ActionDispatch::IntegrationTest::Behavior` in request spec
|
495
|
+
example groups when on Rails 5, allowing integration test helpers
|
496
|
+
to be used in request specs. (Scott Bronson, #1560)
|
497
|
+
|
498
|
+
Bug fixes:
|
499
|
+
|
500
|
+
* Make it possible to use floats in auto generated (scaffold) tests.
|
501
|
+
(Alwahsh, #1550)
|
502
|
+
|
503
|
+
### 3.5.0.beta1 / 2016-02-06
|
504
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
505
|
+
|
506
|
+
Enhancements:
|
507
|
+
|
508
|
+
* Add a `--singularize` option for the feature spec generator (Felicity McCabe,
|
509
|
+
#1503)
|
510
|
+
* Prevent leaking TestUnit methods in Rails 4+ (Fernando Seror Garcia, #1512)
|
511
|
+
* Add support for Rails 5 (Sam Phippen, #1492)
|
512
|
+
|
513
|
+
Bug fixes:
|
514
|
+
|
515
|
+
* Make it possible to write nested specs within helper specs on classes that are
|
516
|
+
internal to helper classes. (Sam Phippen, Peter Swan, #1499).
|
517
|
+
* Warn if a fixture method is called from a `before(:context)` block, instead of
|
518
|
+
crashing with a `undefined method for nil:NilClass`. (Sam Phippen, #1501)
|
519
|
+
* Expose path to view specs (Ryan Clark, Sarah Mei, Sam Phippen, #1402)
|
520
|
+
* Prevent installing Rails 3.2.22.1 on Ruby 1.8.7. (Jon Rowe, #1540)
|
521
|
+
* Raise a clear error when `have_enqueued_job` is used with non-test
|
522
|
+
adapter. (Wojciech Wnętrzak, #1489)
|
523
|
+
|
524
|
+
### 3.4.2 / 2016-02-02
|
525
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
526
|
+
|
527
|
+
Bug Fixes:
|
528
|
+
|
529
|
+
* Cache template resolvers during path lookup to prevent performance
|
530
|
+
regression from #1535. (Andrew White, #1544)
|
531
|
+
|
532
|
+
### 3.4.1 / 2016-01-25
|
533
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
534
|
+
|
535
|
+
Bug Fixes:
|
536
|
+
|
537
|
+
* Fix no method error when rendering templates with explicit `:file`
|
538
|
+
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
539
|
+
|
540
|
+
### 3.4.0 / 2015-11-11
|
541
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
542
|
+
|
543
|
+
Enhancements:
|
544
|
+
|
545
|
+
* Improved the failure message for `have_rendered` matcher on a redirect
|
546
|
+
response. (Alex Egan, #1440)
|
547
|
+
* Add configuration option to filter out Rails gems from backtraces.
|
548
|
+
(Bradley Schaefer, #1458)
|
549
|
+
* Enable resolver cache for view specs for a large speed improvement
|
550
|
+
(Chris Zetter, #1452)
|
551
|
+
* Add `have_enqueued_job` matcher for checking if a block has queued jobs.
|
552
|
+
(Wojciech Wnętrzak, #1464)
|
553
|
+
|
554
|
+
Bug Fixes:
|
555
|
+
|
556
|
+
* Fix another load order issued which causes an undefined method `fixture_path` error
|
557
|
+
when loading rspec-rails after a spec has been created. (Nikki Murray, #1430)
|
558
|
+
* Removed incorrect surrounding whitespace in the rspec-rails backtrace
|
559
|
+
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
560
|
+
|
561
|
+
### 3.3.3 / 2015-07-15
|
562
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
563
|
+
|
564
|
+
Bug Fixes:
|
565
|
+
|
566
|
+
* Fix issue with generators caused by `Rails.configuration.hidden_namespaces`
|
567
|
+
including symbols. (Dan Kohn, #1414)
|
568
|
+
|
569
|
+
### 3.3.2 / 2015-06-18
|
570
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
571
|
+
|
572
|
+
Bug Fixes:
|
573
|
+
|
574
|
+
* Fix regression that caused stubbing abstract ActiveRecord model
|
575
|
+
classes to trigger internal errors in rails due the the verifying
|
576
|
+
double lifecycle wrongly calling `define_attribute_methods` on the
|
577
|
+
abstract AR class. (Jon Rowe, #1396)
|
578
|
+
|
579
|
+
### 3.3.1 / 2015-06-14
|
580
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
581
|
+
|
582
|
+
Bug Fixes:
|
583
|
+
|
584
|
+
* Fix regression that caused stubbing ActiveRecord model classes to
|
585
|
+
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
586
|
+
|
587
|
+
### 3.3.0 / 2015-06-12
|
588
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
589
|
+
|
590
|
+
Enhancements:
|
591
|
+
|
592
|
+
* Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336)
|
593
|
+
* Improve controller and routing spec calls to `routes` by using `yield`
|
594
|
+
instead of `call`. (Anton Davydov, #1308)
|
595
|
+
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGroup`s
|
596
|
+
via both `type: :job` and inferring type from spec directory `spec/jobs`.
|
597
|
+
(Gabe Martin-Dempesy, #1361)
|
598
|
+
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
|
599
|
+
`use_fixtures: true`. (Aaron Kromer, #1372)
|
600
|
+
* Include `rspec:request` generator for generating request specs; this is an
|
601
|
+
alias of `rspec:integration` (Aaron Kromer, #1378)
|
602
|
+
* Update `rails_helper` generator with a default check to abort the spec run
|
603
|
+
when the Rails environment is production. (Aaron Kromer, #1383)
|
604
|
+
|
605
|
+
### 3.2.3 / 2015-06-06
|
606
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
607
|
+
|
608
|
+
Bug Fixes:
|
609
|
+
|
610
|
+
* Fix regression with the railtie resulting in undefined method `preview_path=`
|
611
|
+
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
612
|
+
|
613
|
+
### 3.2.2 / 2015-06-03
|
614
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
615
|
+
|
616
|
+
Bug Fixes:
|
617
|
+
|
618
|
+
* Fix auto-including of generic `Helper` object for view specs sitting in the
|
619
|
+
`app/views` root (David Daniell, #1289)
|
620
|
+
* Remove pre-loading of ActionMailer in the Railtie (Aaron Kromer, #1327)
|
621
|
+
* Fix undefined method `need_auto_run=` error when using Ruby 2.1 and Rails 3.2
|
622
|
+
without the test-unit gem (Orien Madgwick, #1350)
|
623
|
+
* Fix load order issued which causes an undefined method `fixture_path` error
|
624
|
+
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
625
|
+
|
626
|
+
### 3.2.1 / 2015-02-23
|
627
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
628
|
+
|
629
|
+
Bug Fixes:
|
630
|
+
|
631
|
+
* Add missing `require` to RSpec generator root fixing an issue where Rail's
|
632
|
+
autoload does not find it in some environments. (Aaron Kromer, #1305)
|
633
|
+
* `be_routable` matcher now has the correct description. (Tony Ta, #1310)
|
634
|
+
* Fix dependency to allow Rails 4.2.x patches / pre-releases (Lucas Mazza, #1318)
|
635
|
+
* Disable the `test-unit` gem's autorunner on projects running Rails < 4.1 and
|
636
|
+
Ruby < 2.2 (Aaron Kromer, #1320)
|
637
|
+
|
638
|
+
### 3.2.0 / 2015-02-03
|
639
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
640
|
+
|
641
|
+
Enhancements:
|
642
|
+
|
643
|
+
* Include generator for `ActionMailer` mailer previews (Takashi Nakagawa, #1185)
|
644
|
+
* Configure the `ActionMailer` preview path via a Railtie (Aaron Kromer, #1236)
|
645
|
+
* Show all RSpec generators when running `rails generate` (Eliot Sykes, #1248)
|
646
|
+
* Support Ruby 2.2 with Rails 3.2 and 4.x (Aaron Kromer, #1264, #1277)
|
647
|
+
* Improve `instance_double` to support verifying dynamic column methods defined
|
648
|
+
by `ActiveRecord` (Jon Rowe, #1238)
|
649
|
+
* Mirror the use of Ruby 1.9 hash syntax for the `type` tags in the spec
|
650
|
+
generators on Rails 4. (Michael Stock, #1292)
|
651
|
+
|
652
|
+
Bug Fixes:
|
653
|
+
|
654
|
+
* Fix `rspec:feature` generator to use `RSpec` namespace preventing errors when
|
655
|
+
monkey-patching is disabled. (Rebecca Skinner, #1231)
|
656
|
+
* Fix `NoMethodError` caused by calling `RSpec.feature` when Capybara is not
|
657
|
+
available or the Capybara version is < 2.4.0. (Aaron Kromer, #1261)
|
658
|
+
* Fix `ArgumentError` when using an anonymous controller which inherits an
|
659
|
+
outer group's anonymous controller. (Yuji Nakayama, #1260)
|
660
|
+
* Fix "Test is not a class (TypeError)" error when using a custom `Test` class
|
661
|
+
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
662
|
+
|
663
|
+
### 3.1.0 / 2014-09-04
|
664
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
665
|
+
|
666
|
+
Enhancements:
|
667
|
+
|
668
|
+
* Switch to using the `have_http_status` matcher in spec generators. (Aaron Kromer, #1086)
|
669
|
+
* Update `rails_helper` generator to allow users to opt-in to auto-loading
|
670
|
+
`spec/support` files instead of forcing it upon them. (Aaron Kromer, #1137)
|
671
|
+
* Include generator for `ActiveJob`. (Abdelkader Boudih, #1155)
|
672
|
+
* Improve support for non-ActiveRecord apps by not loading ActiveRecord related
|
673
|
+
settings in the generated `rails_helper`. (Aaron Kromer, #1150)
|
674
|
+
* Remove Ruby warnings as a suggested configuration. (Aaron Kromer, #1163)
|
675
|
+
* Improve the semantics of the controller spec for scaffolds. (Griffin Smith, #1204)
|
676
|
+
* Use `#method` syntax in all generated controller specs. (Griffin Smith, #1206)
|
677
|
+
|
678
|
+
Bug Fixes:
|
679
|
+
|
680
|
+
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
681
|
+
|
682
|
+
### 3.0.2 / 2014-07-21
|
683
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
684
|
+
|
685
|
+
Bug Fixes:
|
686
|
+
|
687
|
+
* Suppress warning in `SetupAndTeardownAdapter`. (André Arko, #1085)
|
688
|
+
* Remove dependency on Rubygems. (Andre Arko & Doc Riteze, #1099)
|
689
|
+
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
690
|
+
|
691
|
+
### 3.0.1 / 2014-06-02
|
692
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
693
|
+
|
694
|
+
Bug Fixes:
|
695
|
+
|
696
|
+
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
697
|
+
|
698
|
+
### 3.0.0 / 2014-06-01
|
699
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|
700
|
+
|
701
|
+
Enhancements:
|
702
|
+
|
703
|
+
* Separate RSpec configuration in generated `spec_helper` from Rails setup
|
704
|
+
and associated configuration options. Moving Rails specific settings and
|
705
|
+
options to `rails_helper`. (Aaron Kromer)
|
706
|
+
|
707
|
+
Bug Fixes:
|
708
|
+
|
709
|
+
* Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
|
710
|
+
|
711
|
+
### 3.0.0.rc1 / 2014-05-18
|
712
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
|
713
|
+
|
714
|
+
Breaking Changes for 3.0.0:
|
715
|
+
|
716
|
+
* Extracts the `mock_model` and `stub_model` methods to the
|
717
|
+
`rspec-activemodel-mocks` gem. (Thomas Holmes)
|
718
|
+
* Spec types are no longer inferred by location, they instead need to be
|
719
|
+
explicitly tagged. The old behaviour is enabled by
|
720
|
+
`config.infer_spec_type_from_file_location!`, which is still supplied
|
721
|
+
in the default generated `spec_helper.rb`. (Xavier Shay, Myron Marston)
|
722
|
+
* `controller` macro in controller specs no longer mutates
|
723
|
+
`:described_class` metadata. It still overrides the subject and sets
|
724
|
+
the controller, though. (Myron Marston)
|
725
|
+
* Stop depending on or requiring `rspec-collection_matchers`. Users who
|
726
|
+
want those matchers should add the gem to their Gemfile and require it
|
727
|
+
themselves. (Myron Marston)
|
728
|
+
* Removes runtime dependency on `ActiveModel`. (Rodrigo Rosenfeld Rosas)
|
729
|
+
|
730
|
+
Enhancements:
|
731
|
+
|
732
|
+
* Supports Rails 4.x reference attribute ids in generated scaffold for view
|
733
|
+
specs. (Giovanni Cappellotto)
|
734
|
+
* Add `have_http_status` matcher. (Aaron Kromer)
|
735
|
+
* Add spec type metadata to generator templates. (Aaron Kromer)
|
736
|
+
|
737
|
+
Bug Fixes:
|
738
|
+
|
739
|
+
* Fix an inconsistency in the generated scaffold specs for a controller. (Andy Waite)
|
740
|
+
* Ensure `config.before(:all, type: <type>)` hooks run before groups
|
741
|
+
of the given type, even when the type is inferred by the file
|
742
|
+
location. (Jon Rowe, Myron Marston)
|
743
|
+
* Switch to parsing params with `Rack::Utils::parse_nested_query` to match Rails.
|
744
|
+
(Tim Watson)
|
745
|
+
* Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
|
746
|
+
|
747
|
+
### 3.0.0.beta2 / 2014-02-17
|
748
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
|
749
|
+
|
750
|
+
Breaking Changes for 3.0.0:
|
751
|
+
|
752
|
+
* Removes the `--webrat` option for the request spec generator (Andy Lindeman)
|
753
|
+
* Methods from `Capybara::DSL` (e.g., `visit`) are no longer available in
|
754
|
+
controller specs. It is more appropriate to use capybara in feature specs
|
755
|
+
(`spec/features`) instead. (Andy Lindeman)
|
756
|
+
* `infer_base_class_for_anonymous_controllers` is
|
757
|
+
enabled by default. (Thomas Holmes)
|
758
|
+
* Capybara 2.2.0 or above is required for feature specs. (Andy Lindeman)
|
759
|
+
|
760
|
+
Enhancements:
|
761
|
+
|
762
|
+
* Improve `be_valid` matcher for non-ActiveModel::Errors implementations (Ben Hamill)
|
763
|
+
|
764
|
+
Bug Fixes:
|
765
|
+
|
766
|
+
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
767
|
+
* Supports Rails 4.1. (Andy Lindeman)
|
768
|
+
* Routes are drawn correctly for anonymous controllers with abstract
|
769
|
+
parents. (Billy Chan)
|
770
|
+
* Loads ActiveSupport properly to support changes in Rails 4.1. (Andy Lindeman)
|
771
|
+
* Anonymous controllers inherit from `ActionController::Base` if `ApplicationController`
|
772
|
+
is not present. (Jon Rowe)
|
773
|
+
* Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
|
774
|
+
|
775
|
+
### 3.0.0.beta1 / 2013-11-07
|
776
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
|
777
|
+
|
778
|
+
Breaking Changes for 3.0.0:
|
779
|
+
|
780
|
+
* Extracts `autotest` and `autotest-rails` support to `rspec-autotest` gem.
|
781
|
+
(Andy Lindeman)
|
782
|
+
|
783
|
+
### 2.99.0 / 2014-06-01
|
784
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
|
785
|
+
|
786
|
+
No changes. Just taking it out of pre-release.
|
787
|
+
|
788
|
+
### 2.99.0.rc1 / 2014-05-18
|
789
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
|
790
|
+
|
791
|
+
Deprecations
|
792
|
+
|
793
|
+
* Deprecates `stub_model` and `mock_model` in favor of the
|
794
|
+
`rspec-activemodel-mocks` gem. (Thomas Holmes)
|
795
|
+
* Issue a deprecation to instruct users to configure
|
796
|
+
`config.infer_spec_type_from_file_location!` during the
|
797
|
+
upgrade process since spec type inference is opt-in in 3.0.
|
798
|
+
(Jon Rowe)
|
799
|
+
* Issue a deprecation when `described_class` is accessed in a controller
|
800
|
+
example group that has used the `controller { }` macro to generate an
|
801
|
+
anonymous controller class, since in 2.x, `described_class` would
|
802
|
+
return that generated class but in 3.0 it will continue returning the
|
803
|
+
class passed to `describe`. (Myron Marston)
|
804
|
+
|
805
|
+
### 2.99.0.beta2 / 2014-02-17
|
806
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
|
807
|
+
|
808
|
+
Deprecations:
|
809
|
+
|
810
|
+
* Deprecates the `--webrat` option to the scaffold and request spec generator (Andy Lindeman)
|
811
|
+
* Deprecates the use of `Capybara::DSL` (e.g., `visit`) in controller specs.
|
812
|
+
It is more appropriate to use capybara in feature specs (`spec/features`)
|
813
|
+
instead. (Andy Lindeman)
|
814
|
+
|
815
|
+
Bug Fixes:
|
816
|
+
|
817
|
+
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
818
|
+
* Supports Rails 4.1. (Andy Lindeman)
|
819
|
+
* Loads ActiveSupport properly to support changes in Rails 4.1. (Andy Lindeman)
|
820
|
+
* Anonymous controllers inherit from `ActionController::Base` if `ApplicationController`
|
821
|
+
is not present. (Jon Rowe)
|
822
|
+
|
823
|
+
### 2.99.0.beta1 / 2013-11-07
|
824
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
|
825
|
+
|
826
|
+
Deprecations:
|
827
|
+
|
828
|
+
* Deprecates autotest integration in favor of the `rspec-autotest` gem. (Andy
|
829
|
+
Lindeman)
|
830
|
+
|
831
|
+
Enhancements:
|
832
|
+
|
833
|
+
* Supports Rails 4.1 and Minitest 5. (Patrick Van Stee)
|
834
|
+
|
835
|
+
Bug Fixes:
|
836
|
+
|
837
|
+
* Fixes "warning: instance variable @orig\_routes not initialized" raised by
|
838
|
+
controller specs when `--warnings` are enabled. (Andy Lindeman)
|
839
|
+
* Where possible, check against the version of ActiveRecord, rather than
|
840
|
+
Rails. It is possible to use some of rspec-rails without all of Rails.
|
841
|
+
(Darryl Pogue)
|
842
|
+
* Explicitly depends on `activemodel`. This allows libraries that do not bring
|
843
|
+
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
844
|
+
|
845
|
+
### 2.14.1 / 2013-12-29
|
846
|
+
[full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
|
847
|
+
|
848
|
+
Bug Fixes:
|
849
|
+
|
850
|
+
* Fixes "warning: instance variable @orig\_routes not initialized" raised by
|
851
|
+
controller specs when `--warnings` are enabled. (Andy Lindeman)
|
852
|
+
* Where possible, check against the version of ActiveRecord, rather than
|
853
|
+
Rails. It is possible to use some of rspec-rails without all of Rails.
|
854
|
+
(Darryl Pogue)
|
855
|
+
* Supports Rails 4.1 and Minitest 5. (Patrick Van Stee, Andy Lindeman)
|
856
|
+
* Explicitly depends on `activemodel`. This allows libraries that do not bring
|
857
|
+
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
858
|
+
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
859
|
+
|
860
|
+
### 2.14.0 / 2013-07-06
|
861
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
|
862
|
+
|
863
|
+
Bug fixes
|
864
|
+
|
865
|
+
* Rake tasks do not define methods that might interact with other libraries.
|
866
|
+
(Fujimura Daisuke)
|
867
|
+
* Reverts fix for out-of-order `let` definitions in controller specs after the
|
868
|
+
issue was fixed upstream in rspec-core. (Andy Lindeman)
|
869
|
+
* Fixes deprecation warning when using `expect(Model).to have(n).records` with
|
870
|
+
Rails 4. (Andy Lindeman)
|
871
|
+
|
872
|
+
### 2.14.0.rc1 / 2013-05-27
|
873
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
|
874
|
+
|
875
|
+
Enhancements
|
876
|
+
|
877
|
+
* Prelimiarily support Rails 4.1 by updating adapters to support Minitest 5.0.
|
878
|
+
(Andy Lindeman)
|
879
|
+
|
880
|
+
Bug fixes
|
881
|
+
|
882
|
+
* `rake stats` runs correctly when spec files exist at the top level of the
|
883
|
+
spec/ directory. (Benjamin Fleischer)
|
884
|
+
|
885
|
+
### 2.13.2 / 2013-05-18
|
886
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
|
887
|
+
|
888
|
+
Bug fixes
|
889
|
+
|
890
|
+
* `let` definitions may override methods defined in modules brought in via
|
891
|
+
`config.include` in controller specs. Fixes regression introduced in 2.13.
|
892
|
+
(Andy Lindeman, Jon Rowe)
|
893
|
+
* Code that checks Rails version numbers is more robust in cases where Rails is
|
894
|
+
not fully loaded. (Andy Lindeman)
|
895
|
+
|
896
|
+
Enhancements
|
897
|
+
|
898
|
+
* Document how the spec/support directory works. (Sam Phippen)
|
899
|
+
|
900
|
+
### 2.13.1 / 2013-04-27
|
901
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
|
902
|
+
|
903
|
+
Bug fixes
|
904
|
+
|
905
|
+
* View specs are no longer generated if no template engine is specified (Kevin
|
906
|
+
Glowacz)
|
907
|
+
* `ActionController::Base.allow_forgery_protection` is set to its original
|
908
|
+
value after each example. (Mark Dimas)
|
909
|
+
* `patch` is supported in routing specs. (Chris Your)
|
910
|
+
* Routing assertions are supported in controller specs in Rails 4. (Andy
|
911
|
+
Lindeman)
|
912
|
+
* Fix spacing in the install generator template (Taiki ONO)
|
913
|
+
|
914
|
+
### 2.13.0 / 2013-02-23
|
915
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
|
916
|
+
|
917
|
+
Enhancements
|
918
|
+
|
919
|
+
* `be_valid` matcher includes validation error messages. (Tom Scott)
|
920
|
+
* Adds cucumber scenario showing how to invoke an anonymous controller's
|
921
|
+
non-resourceful actions. (Paulo Luis Franchini Casaretto)
|
922
|
+
* Null template handler is used when views are stubbed. (Daniel Schierbeck)
|
923
|
+
* The generated `spec_helper.rb` in Rails 4 includes a check for pending
|
924
|
+
migrations. (Andy Lindeman)
|
925
|
+
* Adds `rake spec:features` task. (itzki)
|
926
|
+
* Rake tasks are automatically generated for each spec/ directory.
|
927
|
+
(Rudolf Schmidt)
|
928
|
+
|
929
|
+
### 2.12.2 / 2013-01-12
|
930
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
|
931
|
+
|
932
|
+
Bug fixes
|
933
|
+
|
934
|
+
* Reverts earlier fix where anonymous controllers defined the `_routes` method
|
935
|
+
to support testing of redirection and generation of URLs from other contexts.
|
936
|
+
The implementation ended up breaking the ability to refer to non-anonymous
|
937
|
+
routes in the context of the controller under test.
|
938
|
+
* Uses `assert_select` correctly in view specs generated by scaffolding. (Andy
|
939
|
+
Lindeman)
|
940
|
+
|
941
|
+
### 2.12.1 / 2013-01-07
|
942
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
|
943
|
+
|
944
|
+
Bug fixes
|
945
|
+
|
946
|
+
* Operates correctly when ActiveRecord is only partially loaded (e.g., with
|
947
|
+
older versions of Mongoid). (Eric Marden)
|
948
|
+
* `expect(subject).to have(...).errors_on` operates correctly for
|
949
|
+
ActiveResource models where `valid?` does not accept an argument. (Yi Wen)
|
950
|
+
* Rails 4 support for routing specs. (Andy Lindeman)
|
951
|
+
* Rails 4 support for `ActiveRecord::Relation` and the `=~` operator matcher.
|
952
|
+
(Andy Lindeman)
|
953
|
+
* Anonymous controllers define `_routes` to support testing of redirection
|
954
|
+
and generation of URLs from other contexts. (Andy Lindeman)
|
955
|
+
|
956
|
+
### 2.12.0 / 2012-11-12
|
957
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
|
958
|
+
|
959
|
+
Enhancements
|
960
|
+
|
961
|
+
* Support validation contexts when using `#errors_on` (Woody Peterson)
|
962
|
+
* Include RequestExampleGroup in groups in spec/api
|
963
|
+
|
964
|
+
Bug fixes
|
965
|
+
|
966
|
+
* Add `should` and `should_not` to `CollectionProxy` (Rails 3.1+) and
|
967
|
+
`AssociationProxy` (Rails 3.0). (Myron Marston)
|
968
|
+
* `controller.controller_path` is set correctly for view specs in Rails 3.1+.
|
969
|
+
(Andy Lindeman)
|
970
|
+
* Generated specs support module namespacing (e.g., in a Rails engine).
|
971
|
+
(Andy Lindeman)
|
972
|
+
* `render` properly infers the view to be rendered in Rails 3.0 and 3.1
|
973
|
+
(John Firebaugh)
|
974
|
+
* AutoTest mappings involving config/ work correctly (Brent J. Nordquist)
|
975
|
+
* Failures message for `be_new_record` are more useful (Andy Lindeman)
|
976
|
+
|
977
|
+
### 2.11.4 / 2012-10-14
|
978
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
|
979
|
+
|
980
|
+
Capybara-2.0 integration support:
|
981
|
+
|
982
|
+
* include RailsExampleGroup in spec/features (necessary when there is no AR)
|
983
|
+
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
|
984
|
+
|
985
|
+
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
|
986
|
+
and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
|
987
|
+
for background.
|
988
|
+
|
989
|
+
2.11.1, .2, .3 were yanked due to errant documentation.
|
990
|
+
|
991
|
+
### 2.11.0 / 2012-07-07
|
992
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
|
993
|
+
|
994
|
+
Enhancements
|
995
|
+
|
996
|
+
* The generated `spec/spec_helper.rb` sets `config.order = "random"` so that
|
997
|
+
specs run in random order by default.
|
998
|
+
* rename `render_template` to `have_rendered` (and alias to `render_template`
|
999
|
+
for backward compatibility)
|
1000
|
+
* The controller spec generated with `rails generate scaffold namespaced::model`
|
1001
|
+
matches the spec generated with `rails generate scaffold namespaced/model`
|
1002
|
+
(Kohei Hasegawa)
|
1003
|
+
|
1004
|
+
Bug fixes
|
1005
|
+
|
1006
|
+
* "uninitialized constant" errors are avoided when using using gems like
|
1007
|
+
`rspec-rails-uncommitted` that define `Rspec::Rails` before `rspec-rails`
|
1008
|
+
loads (Andy Lindeman)
|
1009
|
+
|
1010
|
+
### 2.10.1 / 2012-05-03
|
1011
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
|
1012
|
+
|
1013
|
+
Bug fixes
|
1014
|
+
|
1015
|
+
* fix regression introduced in 2.10.0 that broke integration with Devise
|
1016
|
+
(https://github.com/rspec/rspec-rails/issues/534)
|
1017
|
+
* remove generation of helper specs when running the scaffold generator, as
|
1018
|
+
Rails already does this (Jack Dempsey)
|
1019
|
+
|
1020
|
+
### 2.10.0 / 2012-05-03
|
1021
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
|
1022
|
+
|
1023
|
+
Bug fixes
|
1024
|
+
|
1025
|
+
* `render_views` called in a spec can now override the config setting. (martinsvalin)
|
1026
|
+
* Fix `render_views` for anonymous controllers on 1.8.7. (hudge, mudge)
|
1027
|
+
* Eliminate use of deprecated `process_view_paths`
|
1028
|
+
* Fix false negatives when using `route_to` matcher with `should_not`
|
1029
|
+
* `controller` is no longer nil in `config.before` hooks
|
1030
|
+
* Change `request.path_parameters` keys to symbols to match real Rails
|
1031
|
+
environment (Nathan Broadbent)
|
1032
|
+
* Silence deprecation warnings in pre-2.9 generated view specs (Jonathan del
|
1033
|
+
Strother)
|
1034
|
+
|
1035
|
+
### 2.9.0 / 2012-03-17
|
1036
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
|
1037
|
+
|
1038
|
+
Enhancements
|
1039
|
+
|
1040
|
+
* add description method to RouteToMatcher (John Wulff)
|
1041
|
+
* Run "db:test:clone_structure" instead of "db:test:prepare" if Active Record's
|
1042
|
+
schema format is ":sql". (Andrey Voronkov)
|
1043
|
+
|
1044
|
+
Bug fixes
|
1045
|
+
|
1046
|
+
* `mock_model(XXX).as_null_object.unknown_method` returns self again
|
1047
|
+
* Generated view specs use different IDs for each attribute.
|
1048
|
+
|
1049
|
+
### 2.8.1 / 2012-01-04
|
1050
|
+
|
1051
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
|
1052
|
+
|
1053
|
+
NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
|
1054
|
+
stub_model in rspec-rails. This release fixes that issue, but it means that
|
1055
|
+
you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
1056
|
+
3.2.0.rc2.
|
1057
|
+
|
1058
|
+
* Bug fixes
|
1059
|
+
* Explicitly stub valid? in stub_model. Fixes stub_model for rails versions
|
1060
|
+
>= 3.2.0.rc2.
|
1061
|
+
|
1062
|
+
### 2.8.0 / 2012-01-04
|
1063
|
+
|
1064
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
|
1065
|
+
|
1066
|
+
* Enhancements
|
1067
|
+
* Eliminate deprecation warnings in generated view specs in Rails 3.2
|
1068
|
+
* Ensure namespaced helpers are included automatically (Evgeniy Dolzhenko)
|
1069
|
+
* Added cuke scenario documenting which routes are generated for anonymous
|
1070
|
+
controllers (Alan Shields)
|
1071
|
+
|
1072
|
+
### 2.8.0.rc2 / 2011-12-19
|
1073
|
+
|
1074
|
+
[Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
|
1075
|
+
|
1076
|
+
* Enhancements
|
1077
|
+
* Add session hash to generated controller specs (Thiago Almeida)
|
1078
|
+
* Eliminate deprecation warnings about InstanceMethods modules in Rails 3.2
|
1079
|
+
|
1080
|
+
* Bug fixes
|
1081
|
+
* Stub attribute accessor after `respond_to?` call on mocked model (Igor
|
1082
|
+
Afonov)
|
1083
|
+
|
1084
|
+
### 2.8.0.rc1 / 2011-11-06
|
1085
|
+
|
1086
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
|
1087
|
+
|
1088
|
+
* Enhancements
|
1089
|
+
* Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
|
1090
|
+
Annesley)
|
1091
|
+
|
1092
|
+
* Changes
|
1093
|
+
* No API changes for rspec-rails in this release, but some internals
|
1094
|
+
changed to align with rspec-core-2.8
|
1095
|
+
|
1096
|
+
* [rspec-core](https://github.com/rspec/rspec-core/blob/master/Changelog.md)
|
1097
|
+
* [rspec-expectations](https://github.com/rspec/rspec-expectations/blob/master/Changelog.md)
|
1098
|
+
* [rspec-mocks](https://github.com/rspec/rspec-mocks/blob/master/Changelog.md)
|
1099
|
+
|
1100
|
+
### 2.7.0 / 2011-10-16
|
1101
|
+
|
1102
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
|
1103
|
+
|
1104
|
+
* Enhancements
|
1105
|
+
* `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
|
1106
|
+
* Make generated controller spec more consistent with regard to ids
|
1107
|
+
(Brent J. Nordquist)
|
1108
|
+
* Less restrictive autotest mapping between spec and implementation files
|
1109
|
+
(José Valim)
|
1110
|
+
* `require 'rspec/autorun'` from generated `spec_helper.rb` (David Chelimsky)
|
1111
|
+
* add `bypass_rescue` (Lenny Marks)
|
1112
|
+
* `route_to` accepts query string (Marc Weil)
|
1113
|
+
|
1114
|
+
* Internal
|
1115
|
+
* Added specs for generators using ammeter (Alex Rothenberg)
|
1116
|
+
|
1117
|
+
* Bug fixes
|
1118
|
+
* Fix configuration/integration bug with rails 3.0 (fixed in 3.1) in which
|
1119
|
+
`fixure_file_upload` reads from `ActiveSupport::TestCase.fixture_path` and
|
1120
|
+
misses RSpec's configuration (David Chelimsky)
|
1121
|
+
* Support nested resource in view spec generator (David Chelimsky)
|
1122
|
+
* Define `primary_key` on class generated by `mock_model("WithAString")`
|
1123
|
+
(David Chelimsky)
|
1124
|
+
|
1125
|
+
### 2.6.1 / 2011-05-25
|
1126
|
+
|
1127
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
|
1128
|
+
|
1129
|
+
This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
1130
|
+
|
1131
|
+
* Bug fixes
|
1132
|
+
* fix controller specs with anonymous controllers with around filters
|
1133
|
+
* exclude spec directory from rcov metrics (Rodrigo Navarro)
|
1134
|
+
* guard against calling prerequisites on nil default rake task (Jack Dempsey)
|
1135
|
+
|
1136
|
+
### 2.6.0 / 2011-05-12
|
1137
|
+
|
1138
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
|
1139
|
+
|
1140
|
+
* Enhancements
|
1141
|
+
* rails 3 shortcuts for routing specs (Joe Fiorini)
|
1142
|
+
* support nested resources in generators (Tim McEwan)
|
1143
|
+
* require 'rspec/rails/mocks' to use `mock_model` without requiring the whole
|
1144
|
+
rails framework
|
1145
|
+
* Update the controller spec generated by the rails scaffold generator:
|
1146
|
+
* Add documentation to the generated spec
|
1147
|
+
* Use `any_instance` to avoid stubbing finders
|
1148
|
+
* Use real objects instead of `mock_model`
|
1149
|
+
* Update capybara integration to work with capy 0.4 and 1.0.0.beta
|
1150
|
+
* Decorate paths passed to `[append|prepend]_view_paths` with empty templates
|
1151
|
+
unless rendering views. (Mark Turner)
|
1152
|
+
|
1153
|
+
* Bug fixes
|
1154
|
+
* fix typo in "rake spec:statsetup" (Curtis Schofield)
|
1155
|
+
* expose named routes in anonymous controller specs (Andy Lindeman)
|
1156
|
+
* error when generating namespaced scaffold resources (Andy Lindeman)
|
1157
|
+
* Fix load order issue w/ Capybara (oleg dashevskii)
|
1158
|
+
* Fix monkey patches that broke due to internal changes in rails-3.1.0.beta1
|
1159
|
+
|
1160
|
+
### 2.5.0 / 2011-02-05
|
1161
|
+
|
1162
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
|
1163
|
+
|
1164
|
+
* Enhancements
|
1165
|
+
* use index_helper instead of table_name when generating specs (Reza
|
1166
|
+
Primardiansyah)
|
1167
|
+
|
1168
|
+
* Bug fixes
|
1169
|
+
* fixed bug in which `render_views` in a nested group set the value in its
|
1170
|
+
parent group.
|
1171
|
+
* only include MailerExampleGroup when it is defined (Steve Sloan)
|
1172
|
+
* mock_model.as_null_object.attribute.blank? returns false (Randy Schmidt)
|
1173
|
+
* fix typo in request specs (Paco Guzman)
|
1174
|
+
|
1175
|
+
### 2.4.1 / 2011-01-03
|
1176
|
+
|
1177
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
|
1178
|
+
|
1179
|
+
* Bug fixes
|
1180
|
+
* fixed bug caused by including some Rails modules before RSpec's
|
1181
|
+
RailsExampleGroup
|
1182
|
+
|
1183
|
+
### 2.4.0 / 2011-01-02
|
1184
|
+
|
1185
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
|
1186
|
+
|
1187
|
+
* Enhancements
|
1188
|
+
* include ApplicationHelper in helper object in helper specs
|
1189
|
+
* include request spec extensions in files in spec/integration
|
1190
|
+
* include controller spec extensions in groups that use type: :controller
|
1191
|
+
* same for :model, :view, :helper, :mailer, :request, :routing
|
1192
|
+
|
1193
|
+
* Bug fixes
|
1194
|
+
* restore global config.render_views so you only need to say it once
|
1195
|
+
* support overriding render_views in nested groups
|
1196
|
+
* matchers that delegate to Rails' assertions capture
|
1197
|
+
ActiveSupport::TestCase::Assertion (so they work properly now with
|
1198
|
+
should_not in Ruby 1.8.7 and 1.9.1)
|
1199
|
+
|
1200
|
+
* Deprecations
|
1201
|
+
* include_self_when_dir_matches
|
1202
|
+
|
1203
|
+
### 2.3.1 / 2010-12-16
|
1204
|
+
|
1205
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
|
1206
|
+
|
1207
|
+
* Bug fixes
|
1208
|
+
* respond_to? correctly handles 2 args
|
1209
|
+
* scaffold generator no longer fails on autotest directory
|
1210
|
+
|
1211
|
+
### 2.3.0 / 2010-12-12
|
1212
|
+
|
1213
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
|
1214
|
+
|
1215
|
+
* Changes
|
1216
|
+
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
|
1217
|
+
needed (as of rspec-core-2.3.0)
|
1218
|
+
|
1219
|
+
### 2.2.1 / 2010-12-01
|
1220
|
+
|
1221
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
|
1222
|
+
|
1223
|
+
* Bug fixes
|
1224
|
+
* Depend on railties, activesupport, and actionpack instead of rails (Piotr
|
1225
|
+
Solnica)
|
1226
|
+
* Got webrat integration working properly across different types of specs
|
1227
|
+
|
1228
|
+
* Deprecations
|
1229
|
+
* --webrat-matchers flag for generators is deprecated. use --webrat instead.
|
1230
|
+
|
1231
|
+
### 2.2.0 / 2010-11-28
|
1232
|
+
|
1233
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
|
1234
|
+
|
1235
|
+
* Enhancements
|
1236
|
+
* Added stub_template in view specs
|
1237
|
+
|
1238
|
+
* Bug fixes
|
1239
|
+
* Properly include helpers in views (Jonathan del Strother)
|
1240
|
+
* Fix bug in which method missing led to a stack overflow
|
1241
|
+
* Fix stack overflow in request specs with open_session
|
1242
|
+
* Fix stack overflow in any spec when method_missing was invoked
|
1243
|
+
* Add gem dependency on rails ~> 3.0.0 (ensures bundler won't install
|
1244
|
+
rspec-rails-2 with rails-2 apps).
|
1245
|
+
|
1246
|
+
### 2.1.0 / 2010-11-07
|
1247
|
+
|
1248
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
|
1249
|
+
|
1250
|
+
* Enhancements
|
1251
|
+
* Move errors_on to ActiveModel to support other AM-compliant ORMs
|
1252
|
+
|
1253
|
+
* Bug fixes
|
1254
|
+
* Check for presence of ActiveRecord instead of checking Rails config
|
1255
|
+
(gets rspec out of the way of multiple ORMs in the same app)
|
1256
|
+
|
1257
|
+
### 2.0.1 / 2010-10-15
|
1258
|
+
|
1259
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
|
1260
|
+
|
1261
|
+
* Enhancements
|
1262
|
+
* Add option to not generate request spec (--skip-request-specs)
|
1263
|
+
|
1264
|
+
* Bug fixes
|
1265
|
+
* Updated the mock_[model] method generated in controller specs so it adds
|
1266
|
+
any stubs submitted each time it is called.
|
1267
|
+
* Fixed bug where view assigns weren't making it to the view in view specs in Rails-3.0.1.
|
1268
|
+
(Emanuele Vicentini)
|
1269
|
+
|
1270
|
+
### 2.0.0 / 2010-10-10
|
1271
|
+
|
1272
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/ea6bdef...v2.0.0)
|
1273
|
+
|
1274
|
+
* Enhancements
|
1275
|
+
* ControllerExampleGroup uses controller as the implicit subject by default (Paul Rosania)
|
1276
|
+
* autotest mapping improvements (Andreas Neuhaus)
|
1277
|
+
* more cucumber features (Justin Ko)
|
1278
|
+
* clean up spec helper (Andre Arko)
|
1279
|
+
* add assign(name, value) to helper specs (Justin Ko)
|
1280
|
+
* stub_model supports primary keys other than id (Justin Ko)
|
1281
|
+
* support choice between Webrat/Capybara (Justin Ko)
|
1282
|
+
* support specs for 'abstract' subclasses of ActionController::Base (Mike Gehard)
|
1283
|
+
* be_a_new matcher supports args (Justin Ko)
|
1284
|
+
|
1285
|
+
* Bug fixes
|
1286
|
+
* support T::U components in mailer and request specs (Brasten Sager)
|