rspec-rails 7.1.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Changelog.md +235 -214
- data/README.md +29 -33
- data/lib/generators/rspec/authentication/authentication_generator.rb +25 -0
- data/lib/generators/rspec/authentication/templates/user_spec.rb +5 -0
- data/lib/generators/rspec/authentication/templates/users.yml +11 -0
- data/lib/generators/rspec/install/templates/spec/rails_helper.rb +7 -7
- data/lib/rspec/rails/configuration.rb +3 -67
- data/lib/rspec/rails/example/system_example_group.rb +38 -41
- data/lib/rspec/rails/fixture_file_upload_support.rb +2 -8
- data/lib/rspec/rails/fixture_support.rb +12 -42
- data/lib/rspec/rails/matchers/active_job.rb +2 -0
- data/lib/rspec/rails/matchers/have_enqueued_mail.rb +3 -3
- data/lib/rspec/rails/version.rb +1 -1
- data/lib/rspec-rails.rb +3 -11
- data.tar.gz.sig +0 -0
- metadata +32 -33
- metadata.gz.sig +0 -0
data/Changelog.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.1.0
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.1.1...v8.0.0)
|
3
|
+
|
4
|
+
### 8.0.0 / 2025-04-30
|
5
|
+
|
6
|
+
Enhancements:
|
7
|
+
|
8
|
+
* Add Rails 8 authentication generator support. (Jerome Dalbert, rspec/rspec-rails#2811)
|
9
|
+
* Improve install generator comment for `ActiveRecord::Migration.maintain_test_schema!`
|
10
|
+
(rspec/rspec-rails#2832)
|
11
|
+
* Add support for `served_by` in system specs. (Sam Giffney, rspec/rspec-rails#2841)
|
12
|
+
|
13
|
+
Breaking Changes:
|
14
|
+
|
15
|
+
* Minimum supported Rails version is 7.2.0
|
16
|
+
|
17
|
+
### 7.1.1 / 2025-02-06
|
18
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.1.0...v7.1.1)
|
19
|
+
|
20
|
+
Bug Fixes:
|
21
|
+
|
22
|
+
* Check wether rspec-mocks has been loaded before enabling signature
|
23
|
+
verification for `have_enqueued_job` et al (Jon Rowe, rspec/rspec-rails#2823)
|
3
24
|
|
4
25
|
### 7.1.0 / 2024-11-09
|
5
26
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.2...v7.1.0)
|
@@ -7,11 +28,11 @@
|
|
7
28
|
Enhancements:
|
8
29
|
|
9
30
|
* Improve implicit description for ActionCable matchers `have_broadcasted_to` /
|
10
|
-
`have_broadcast`. (Simon Fish, #2795)
|
31
|
+
`have_broadcast`. (Simon Fish, rspec/rspec-rails#2795)
|
11
32
|
* Comment out `infer_spec_type_from_file_location!` in newly generated
|
12
|
-
`rails_helper.rb` files. (Jon Rowe, #2804)
|
33
|
+
`rails_helper.rb` files. (Jon Rowe, rspec/rspec-rails#2804)
|
13
34
|
* Allow turning off active job / mailer argument validation.
|
14
|
-
(Oli Peate, #2808)
|
35
|
+
(Oli Peate, rspec/rspec-rails#2808)
|
15
36
|
|
16
37
|
### 7.0.2 / 2024-11-09
|
17
38
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.1...v7.0.2)
|
@@ -19,17 +40,17 @@ Enhancements:
|
|
19
40
|
Bug Fixes:
|
20
41
|
|
21
42
|
* Fix issue with `have_enqueued_mail` when jobs were incorrectly matched due
|
22
|
-
to refactoring in #2780. (David Runger, #2793)
|
43
|
+
to refactoring in rspec/rspec-rails#2780. (David Runger, rspec/rspec-rails#2793)
|
23
44
|
|
24
45
|
### 7.0.1 / 2024-09-03
|
25
46
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.0...v7.0.1)
|
26
47
|
|
27
48
|
Bug Fixes:
|
28
49
|
|
29
|
-
* Remove mutation of Rails constant in favour of public api. (Petrik de Heus, #2789)
|
30
|
-
* Cleanup Rails scaffold for unsupported versions. (Matt Jankowski, #2790)
|
50
|
+
* Remove mutation of Rails constant in favour of public api. (Petrik de Heus, rspec/rspec-rails#2789)
|
51
|
+
* Cleanup Rails scaffold for unsupported versions. (Matt Jankowski, rspec/rspec-rails#2790)
|
31
52
|
* Remove deprecated scaffold that was unintentionally included in 7.0.0
|
32
|
-
(Jon Rowe, #2791)
|
53
|
+
(Jon Rowe, rspec/rspec-rails#2791)
|
33
54
|
|
34
55
|
### 7.0.0 / 2024-09-02
|
35
56
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.5...v7.0.0)
|
@@ -37,19 +58,19 @@ Bug Fixes:
|
|
37
58
|
Enhancements:
|
38
59
|
|
39
60
|
* Change default driver for system specs on Rails 7.2 to match its default.
|
40
|
-
(Steve Polito, #2746)
|
41
|
-
* Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, #2745)
|
42
|
-
* Add suggestion to rails_helper.rb to skip when not in test mode. (Glauco Custódio, #2751)
|
43
|
-
* Add `at_priority` qualifier to `have_enqueued_job` set of matchers. (mbajur, #2759)
|
44
|
-
* Add spec directories to `rails stats` on Rails main / 8.0.0. (Petrik de Heus, #2781)
|
61
|
+
(Steve Polito, rspec/rspec-rails#2746)
|
62
|
+
* Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, rspec/rspec-rails#2745)
|
63
|
+
* Add suggestion to rails_helper.rb to skip when not in test mode. (Glauco Custódio, rspec/rspec-rails#2751)
|
64
|
+
* Add `at_priority` qualifier to `have_enqueued_job` set of matchers. (mbajur, rspec/rspec-rails#2759)
|
65
|
+
* Add spec directories to `rails stats` on Rails main / 8.0.0. (Petrik de Heus, rspec/rspec-rails#2781)
|
45
66
|
|
46
67
|
### 6.1.5 / 2024-09-02
|
47
68
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.4...v6.1.5)
|
48
69
|
|
49
70
|
Bug Fixes:
|
50
71
|
|
51
|
-
* Restore old order of requiring support files. (Franz Liedke, #2785)
|
52
|
-
* Prevent running `rake spec:statsetup` on Rails main / 8.0.0. (Petrik de Heus, #2781)
|
72
|
+
* Restore old order of requiring support files. (Franz Liedke, rspec/rspec-rails#2785)
|
73
|
+
* Prevent running `rake spec:statsetup` on Rails main / 8.0.0. (Petrik de Heus, rspec/rspec-rails#2781)
|
53
74
|
|
54
75
|
### 6.1.4 / 2024-08-15
|
55
76
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.3...v6.1.4)
|
@@ -57,26 +78,26 @@ Bug Fixes:
|
|
57
78
|
Bug Fixes:
|
58
79
|
|
59
80
|
* Prevent `have_http_status` matcher raising an error when encountering a raw `Rack::MockResponse`.
|
60
|
-
(Christophe Bliard, #2771)
|
61
|
-
* Move Rails version conditional from index scaffold generated file to template. (Matt Jankowski, #2777)
|
81
|
+
(Christophe Bliard, rspec/rspec-rails#2771)
|
82
|
+
* Move Rails version conditional from index scaffold generated file to template. (Matt Jankowski, rspec/rspec-rails#2777)
|
62
83
|
|
63
84
|
### 6.1.3 / 2024-06-19
|
64
85
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.2...v6.1.3)
|
65
86
|
|
66
87
|
Bug Fixes:
|
67
88
|
|
68
|
-
* Reset `ActiveSupport::CurrentAttributes` between examples. (Javier Julio, #2752)
|
69
|
-
* Fix a broken link in generated mailer previews. (Chiara Núñez, #2764)
|
89
|
+
* Reset `ActiveSupport::CurrentAttributes` between examples. (Javier Julio, rspec/rspec-rails#2752)
|
90
|
+
* Fix a broken link in generated mailer previews. (Chiara Núñez, rspec/rspec-rails#2764)
|
70
91
|
* Fix `have_status_code` behaviour with deprecated status names by delegating
|
71
|
-
to `Rack::Utils.status_code/1` to set the expected status code. (Darren Boyd, #2765)
|
92
|
+
to `Rack::Utils.status_code/1` to set the expected status code. (Darren Boyd, rspec/rspec-rails#2765)
|
72
93
|
|
73
94
|
### 6.1.2 / 2024-03-19
|
74
95
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.1...v6.1.2)
|
75
96
|
|
76
97
|
Bug Fixes:
|
77
98
|
|
78
|
-
* Fix generated mailer paths to match Rails convention. (Patrício dos Santos, #2735)
|
79
|
-
* Fix class in template for generator specs. (Nicolas Buduroi, #2744)
|
99
|
+
* Fix generated mailer paths to match Rails convention. (Patrício dos Santos, rspec/rspec-rails#2735)
|
100
|
+
* Fix class in template for generator specs. (Nicolas Buduroi, rspec/rspec-rails#2744)
|
80
101
|
|
81
102
|
### 6.1.1 / 2024-01-25
|
82
103
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.0...v6.1.1)
|
@@ -84,8 +105,8 @@ Bug Fixes:
|
|
84
105
|
Bug Fixes:
|
85
106
|
|
86
107
|
* Improved deprecation message for `RSpec::Rails::Configuration.fixture_paths`
|
87
|
-
(Benoit Tigeot, #2720)
|
88
|
-
* Fix support for namespaced fixtures in Rails 7.1. (Benedikt Deicke, #2716)
|
108
|
+
(Benoit Tigeot, rspec/rspec-rails#2720)
|
109
|
+
* Fix support for namespaced fixtures in Rails 7.1. (Benedikt Deicke, rspec/rspec-rails#2716)
|
89
110
|
|
90
111
|
### 6.1.0 / 2023-11-21
|
91
112
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.4...v6.1.0)
|
@@ -94,17 +115,17 @@ Enhancements:
|
|
94
115
|
|
95
116
|
* Support for Rails 7.1
|
96
117
|
* Minor tweak to generated `rails_helper.rb` to use `Rails.root.join`.
|
97
|
-
(@masato-bkn, Ryo Nakamura, #2640, #2678)
|
118
|
+
(@masato-bkn, Ryo Nakamura, rspec/rspec-rails#2640, rspec/rspec-rails#2678)
|
98
119
|
* Add `RSpec::Rails::Configuration.fixture_paths` configuration to support
|
99
120
|
the matching change to `ActiveRecord::TestFixtures`, previous singular
|
100
|
-
form is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, #2673)
|
121
|
+
form is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, rspec/rspec-rails#2673)
|
101
122
|
* Add `send_email` matcher to match emails rather than specific jobs.
|
102
|
-
(Andrei Kaleshka, #2670)
|
123
|
+
(Andrei Kaleshka, rspec/rspec-rails#2670)
|
103
124
|
* When using `render` in view specs, `:locals` will now be merged into the
|
104
125
|
default implicit template, allowing `render locals: {...}` style calls.
|
105
|
-
(Jon Rowe, #2686)
|
126
|
+
(Jon Rowe, rspec/rspec-rails#2686)
|
106
127
|
* Add support for `Rails.config.action_mailer.preview_paths` on Rails 7.1/
|
107
|
-
(Jon Rowe, #2706)
|
128
|
+
(Jon Rowe, rspec/rspec-rails#2706)
|
108
129
|
|
109
130
|
### 6.0.4 / 2023-11-21
|
110
131
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.3...v6.0.4)
|
@@ -112,14 +133,14 @@ Enhancements:
|
|
112
133
|
Bug Fixes:
|
113
134
|
|
114
135
|
* Fuzzy match `have_broadcasted_to` so that argument matchers can be used.
|
115
|
-
(Timothy Peraza, #2684)
|
116
|
-
* Fix fixture warning during `:context` hooks on Rails `main`. (Jon Rowe, #2685)
|
117
|
-
* Fix `stub_template` on Rails `main`. (Jon Rowe, #2685)
|
118
|
-
* Fix variable name in scaffolded view specs when namespaced. (Taketo Takashima, #2694)
|
136
|
+
(Timothy Peraza, rspec/rspec-rails#2684)
|
137
|
+
* Fix fixture warning during `:context` hooks on Rails `main`. (Jon Rowe, rspec/rspec-rails#2685)
|
138
|
+
* Fix `stub_template` on Rails `main`. (Jon Rowe, rspec/rspec-rails#2685)
|
139
|
+
* Fix variable name in scaffolded view specs when namespaced. (Taketo Takashima, rspec/rspec-rails#2694)
|
119
140
|
* Prevent `take_failed_screenshot` producing an additional error through `metadata`
|
120
|
-
access. (Jon Rowe, #2704)
|
121
|
-
* Use `ActiveSupport::ExecutionContext::TestHelper` on Rails 7+. (Jon Rowe, #2711)
|
122
|
-
* Fix leak of templates stubbed with `stub_template` on Rails 7.1. (Jon Rowe, #2714)
|
141
|
+
access. (Jon Rowe, rspec/rspec-rails#2704)
|
142
|
+
* Use `ActiveSupport::ExecutionContext::TestHelper` on Rails 7+. (Jon Rowe, rspec/rspec-rails#2711)
|
143
|
+
* Fix leak of templates stubbed with `stub_template` on Rails 7.1. (Jon Rowe, rspec/rspec-rails#2714)
|
123
144
|
|
124
145
|
### 6.0.3 / 2023-05-31
|
125
146
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.2...v6.0.3)
|
@@ -127,8 +148,8 @@ Bug Fixes:
|
|
127
148
|
Bug Fixes:
|
128
149
|
|
129
150
|
* Set `ActiveStorage::FixtureSet.file_fixture_path` when including file fixture support.
|
130
|
-
(Jason Yates, #2671)
|
131
|
-
* Allow `broadcast_to` matcher to take Symbols. (@Vagab, #2680)
|
151
|
+
(Jason Yates, rspec/rspec-rails#2671)
|
152
|
+
* Allow `broadcast_to` matcher to take Symbols. (@Vagab, rspec/rspec-rails#2680)
|
132
153
|
|
133
154
|
### 6.0.2 / 2023-05-04
|
134
155
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.1...v6.0.2)
|
@@ -136,18 +157,18 @@ Bug Fixes:
|
|
136
157
|
Bug Fixes:
|
137
158
|
|
138
159
|
* Fix ActionView::PathSet when `render_views` is off for Rails 7.1.
|
139
|
-
(Eugene Kenny, Iliana, #2631)
|
160
|
+
(Eugene Kenny, Iliana, rspec/rspec-rails#2631)
|
140
161
|
* Support Rails 7.1's `#fixtures_paths` in example groups (removes a deprecation warning).
|
141
|
-
(Nicholas Simmons, #2664)
|
162
|
+
(Nicholas Simmons, rspec/rspec-rails#2664)
|
142
163
|
* Fix `have_enqueued_job` to properly detect enqueued jobs when other jobs were
|
143
|
-
performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #2573)
|
164
|
+
performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, rspec/rspec-rails#2573)
|
144
165
|
|
145
166
|
### 6.0.1 / 2022-10-18
|
146
167
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...v6.0.1)
|
147
168
|
|
148
169
|
Bug Fixes:
|
149
170
|
|
150
|
-
* Prevent tagged logged support in Rails 7 calling `#name`. (Jon Rowe, #2625)
|
171
|
+
* Prevent tagged logged support in Rails 7 calling `#name`. (Jon Rowe, rspec/rspec-rails#2625)
|
151
172
|
|
152
173
|
### 6.0.0 / 2022-10-10
|
153
174
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.2...v6.0.0)
|
@@ -155,29 +176,29 @@ Bug Fixes:
|
|
155
176
|
Enhancements:
|
156
177
|
|
157
178
|
* Support Rails 7
|
158
|
-
* Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, #2599)
|
159
|
-
* Generators now respects default path configuration option. (@vivekmiyani, #2508)
|
179
|
+
* Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, rspec/rspec-rails#2599)
|
180
|
+
* Generators now respects default path configuration option. (@vivekmiyani, rspec/rspec-rails#2508)
|
160
181
|
|
161
182
|
Breaking Changes:
|
162
183
|
|
163
184
|
* Drop support for Rails below 6.1
|
164
185
|
* Drop support for Ruby below 2.5 (following supported versions of Rails 6.1)
|
165
186
|
* Change the order of `after_teardown` from `after` to `around` in system
|
166
|
-
specs to improve compatibility with extensions and Capybara. (Tim Diggins, #2596)
|
187
|
+
specs to improve compatibility with extensions and Capybara. (Tim Diggins, rspec/rspec-rails#2596)
|
167
188
|
|
168
189
|
Deprecations:
|
169
190
|
|
170
191
|
* Deprecates integration spec generator (`rspec:integration`)
|
171
192
|
which was an alias of request spec generator (`rspec:request`)
|
172
|
-
(Luka Lüdicke, #2374)
|
193
|
+
(Luka Lüdicke, rspec/rspec-rails#2374)
|
173
194
|
|
174
195
|
### 5.1.2 / 2022-04-24
|
175
196
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.1...v5.1.2)
|
176
197
|
|
177
198
|
Bug Fixes:
|
178
199
|
|
179
|
-
* Fix controller scaffold templates parameter name. (Taketo Takashima, #2591)
|
180
|
-
* Include generator specs in the inferred list of specs. (Jason Karns, #2597)
|
200
|
+
* Fix controller scaffold templates parameter name. (Taketo Takashima, rspec/rspec-rails#2591)
|
201
|
+
* Include generator specs in the inferred list of specs. (Jason Karns, rspec/rspec-rails#2597)
|
181
202
|
|
182
203
|
### 5.1.1 / 2022-03-07
|
183
204
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.0...v5.1.1)
|
@@ -185,7 +206,7 @@ Bug Fixes:
|
|
185
206
|
Bug Fixes:
|
186
207
|
|
187
208
|
* Properly handle global id serialised arguments in `have_enqueued_mail`.
|
188
|
-
(Jon Rowe, #2578)
|
209
|
+
(Jon Rowe, rspec/rspec-rails#2578)
|
189
210
|
|
190
211
|
### 5.1.0 / 2022-01-26
|
191
212
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.3...v5.1.0)
|
@@ -193,9 +214,9 @@ Bug Fixes:
|
|
193
214
|
Enhancements:
|
194
215
|
|
195
216
|
* Make the API request scaffold template more consistent and compatible with
|
196
|
-
Rails 6.1. (Naoto Hamada, #2484)
|
217
|
+
Rails 6.1. (Naoto Hamada, rspec/rspec-rails#2484)
|
197
218
|
* Change the scaffold `rails_helper.rb` template to use `require_relative`.
|
198
|
-
(Jon Dufresne, #2528)
|
219
|
+
(Jon Dufresne, rspec/rspec-rails#2528)
|
199
220
|
|
200
221
|
### 5.0.3 / 2022-01-26
|
201
222
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.2...v5.0.3)
|
@@ -203,10 +224,10 @@ Enhancements:
|
|
203
224
|
Bug Fixes:
|
204
225
|
|
205
226
|
* Properly name params in controller and request spec templates when
|
206
|
-
using the `--model-name` parameter. (@kenzo-tanaka, #2534)
|
227
|
+
using the `--model-name` parameter. (@kenzo-tanaka, rspec/rspec-rails#2534)
|
207
228
|
* Fix parameter matching with mail delivery job and
|
208
|
-
ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546)
|
209
|
-
* Fix Rails 7 `have_enqueued_mail` compatibility (Mikael Henriksson, #2537, #2546)
|
229
|
+
ActionMailer::MailDeliveryJob. (Fabio Napoleoni, rspec/rspec-rails#2516, rspec/rspec-rails#2546)
|
230
|
+
* Fix Rails 7 `have_enqueued_mail` compatibility (Mikael Henriksson, rspec/rspec-rails#2537, rspec/rspec-rails#2546)
|
210
231
|
|
211
232
|
### 5.0.2 / 2021-08-14
|
212
233
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.1...v5.0.2)
|
@@ -214,12 +235,12 @@ Bug Fixes:
|
|
214
235
|
Bug Fixes:
|
215
236
|
|
216
237
|
* Prevent generated job specs from duplicating `_job` in filenames.
|
217
|
-
(Nick Flückiger, #2496)
|
238
|
+
(Nick Flückiger, rspec/rspec-rails#2496)
|
218
239
|
* Fix `ActiveRecord::TestFixture#uses_transaction` by using example description
|
219
240
|
to replace example name rather than example in our monkey patched
|
220
|
-
`run_in_transaction?` method. (Stan Lo, #2495)
|
241
|
+
`run_in_transaction?` method. (Stan Lo, rspec/rspec-rails#2495)
|
221
242
|
* Prevent keyword arguments being lost when methods are invoked dynamically
|
222
|
-
in controller specs. (Josh Cheek, #2509, #2514)
|
243
|
+
in controller specs. (Josh Cheek, rspec/rspec-rails#2509, rspec/rspec-rails#2514)
|
223
244
|
|
224
245
|
### 5.0.1 / 2021-03-18
|
225
246
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)
|
@@ -227,15 +248,15 @@ Bug Fixes:
|
|
227
248
|
Bug Fixes:
|
228
249
|
|
229
250
|
* Limit multibyte example descriptions when used in system tests for #method_name
|
230
|
-
which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
|
251
|
+
which ends up as screenshot names etc. (@y-yagi, rspec/rspec-rails#2405, rspec/rspec-rails#2487)
|
231
252
|
|
232
253
|
### 5.0.0 / 2021-03-09
|
233
254
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...v5.0.0)
|
234
255
|
|
235
256
|
Enhancements:
|
236
257
|
|
237
|
-
* Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398)
|
238
|
-
* Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398)
|
258
|
+
* Support new #file_fixture_path and new fixture test support code. (Jon Rowe, rspec/rspec-rails#2398)
|
259
|
+
* Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more rspec/rspec-rails#2398)
|
239
260
|
|
240
261
|
Breaking Changes:
|
241
262
|
|
@@ -246,102 +267,102 @@ Breaking Changes:
|
|
246
267
|
Bug Fixes:
|
247
268
|
|
248
269
|
* Remove generated specs when destroying a generated controller.
|
249
|
-
(@Naokimi, #2475)
|
270
|
+
(@Naokimi, rspec/rspec-rails#2475)
|
250
271
|
|
251
272
|
### 4.1.0 / 2021-03-06
|
252
273
|
|
253
274
|
Enhancements:
|
254
275
|
|
255
276
|
* Issue a warning when using job matchers with `#at` mismatch on `usec` precision.
|
256
|
-
(Jon Rowe, #2350)
|
277
|
+
(Jon Rowe, rspec/rspec-rails#2350)
|
257
278
|
* Generated request specs now have a bare `_spec` suffix instead of `request_spec`.
|
258
|
-
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
|
279
|
+
(Eloy Espinaco, Luka Lüdicke, rspec/rspec-rails#2355, rspec/rspec-rails#2356, rspec/rspec-rails#2378)
|
259
280
|
* Generated scaffold now includes engine route helpers when inside a mountable engine.
|
260
|
-
(Andrew W. Lee, #2372)
|
281
|
+
(Andrew W. Lee, rspec/rspec-rails#2372)
|
261
282
|
* Improve request spec "controller" scaffold when no action is specified.
|
262
|
-
(Thomas Hareau, #2399)
|
263
|
-
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
|
283
|
+
(Thomas Hareau, rspec/rspec-rails#2399)
|
284
|
+
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, rspec/rspec-rails#2423)
|
264
285
|
* Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
|
265
|
-
Rails. (Benoit Tigeot, #2461)
|
286
|
+
Rails. (Benoit Tigeot, rspec/rspec-rails#2461)
|
266
287
|
|
267
288
|
### 4.0.2 / 2020-12-26
|
268
289
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...v4.0.2)
|
269
290
|
|
270
291
|
Bug Fixes:
|
271
292
|
|
272
|
-
* Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
|
273
|
-
* Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344)
|
293
|
+
* Indent all extra failure lines output from system specs. (Alex Robbin, rspec/rspec-rails#2321)
|
294
|
+
* Generated request spec for update now uses the correct let. (Paul Hanyzewski, rspec/rspec-rails#2344)
|
274
295
|
* Return `true`/`false` from predicate methods in config rather than raw values.
|
275
|
-
(Phil Pirozhkov, Jon Rowe, #2353, #2354)
|
296
|
+
(Phil Pirozhkov, Jon Rowe, rspec/rspec-rails#2353, rspec/rspec-rails#2354)
|
276
297
|
* Remove old #fixture_path feature detection code which broke under newer Rails.
|
277
|
-
(Koen Punt, Jon Rowe, #2370)
|
278
|
-
* Fix an error when `use_active_record` is `false` (Phil Pirozhkov, #2423)
|
298
|
+
(Koen Punt, Jon Rowe, rspec/rspec-rails#2370)
|
299
|
+
* Fix an error when `use_active_record` is `false` (Phil Pirozhkov, rspec/rspec-rails#2423)
|
279
300
|
|
280
301
|
### 4.0.1 / 2020-05-16
|
281
302
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0...v4.0.1)
|
282
303
|
|
283
304
|
Bug Fixes:
|
284
305
|
|
285
|
-
* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302)
|
286
|
-
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
|
306
|
+
* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, rspec/rspec-rails#2302)
|
307
|
+
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, rspec/rspec-rails#2304)
|
287
308
|
* Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob`
|
288
|
-
is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
|
289
|
-
* Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
|
290
|
-
* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)
|
309
|
+
is set using `<Class>.delivery_job=`. (Atsushi Yoshida rspec/rspec-rails#2305)
|
310
|
+
* Restore Ruby 2.2.x compatibility. (Jon Rowe, rspec/rspec-rails#2332)
|
311
|
+
* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, rspec/rspec-rails#2319, rspec/rspec-rails#2338)
|
291
312
|
|
292
313
|
### 4.0.0 / 2020-03-24
|
293
314
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
|
294
315
|
|
295
316
|
Enhancements:
|
296
317
|
|
297
|
-
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
|
318
|
+
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, rspec/rspec-rails#2071)
|
298
319
|
* Adds support for JRuby on Rails 5.2 and 6
|
299
|
-
* Add support for parameterised mailers (Ignatius Reza, #2125)
|
300
|
-
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
|
301
|
-
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
|
320
|
+
* Add support for parameterised mailers (Ignatius Reza, rspec/rspec-rails#2125)
|
321
|
+
* Add ActionMailbox spec helpers and test type (James Dabbs, rspec/rspec-rails#2119)
|
322
|
+
* Add ActionCable spec helpers and test type (Vladimir Dementyev, rspec/rspec-rails#2113)
|
302
323
|
* Add support for partial args when using `have_enqueued_mail`
|
303
|
-
(Ignatius Reza, #2118, #2125)
|
304
|
-
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
|
305
|
-
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
|
324
|
+
(Ignatius Reza, rspec/rspec-rails#2118, rspec/rspec-rails#2125)
|
325
|
+
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, rspec/rspec-rails#2157)
|
326
|
+
* Improve path parsing in view specs render options. (John Hawthorn, rspec/rspec-rails#2115)
|
306
327
|
* Add routing spec template as an option for generating controller specs.
|
307
|
-
(David Revelo, #2134)
|
308
|
-
* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
|
309
|
-
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
|
328
|
+
(David Revelo, rspec/rspec-rails#2134)
|
329
|
+
* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, rspec/rspec-rails#2206)
|
330
|
+
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, rspec/rspec-rails#2224)
|
310
331
|
* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
|
311
|
-
matchers (Isaac Seymour, #1785)
|
332
|
+
matchers (Isaac Seymour, rspec/rspec-rails#1785)
|
312
333
|
* Default to generating request specs rather than controller specs when
|
313
|
-
generating a controller (Luka Lüdicke, #2222)
|
314
|
-
* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283)
|
334
|
+
generating a controller (Luka Lüdicke, rspec/rspec-rails#2222)
|
335
|
+
* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, rspec/rspec-rails#2283)
|
315
336
|
* The scaffold generator now generates request specs in preference to controller specs.
|
316
|
-
(Luka Lüdicke, #2288)
|
317
|
-
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
|
337
|
+
(Luka Lüdicke, rspec/rspec-rails#2288)
|
338
|
+
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, rspec/rspec-rails#2266)
|
318
339
|
* Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs.
|
319
|
-
(ta1kt0me, Benoit Tigeot, #2289)
|
340
|
+
(ta1kt0me, Benoit Tigeot, rspec/rspec-rails#2289)
|
320
341
|
|
321
342
|
Bug Fixes:
|
322
343
|
|
323
344
|
* `EmptyTemplateHandler.call` now needs to support an additional argument in
|
324
|
-
Rails 6. (Pavel Rosický, #2089)
|
345
|
+
Rails 6. (Pavel Rosický, rspec/rspec-rails#2089)
|
325
346
|
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
|
326
|
-
deprecated. (Pavel Rosický, #2092)
|
347
|
+
deprecated. (Pavel Rosický, rspec/rspec-rails#2092)
|
327
348
|
* `ActionView::Template#formats` has been deprecated and replaced by
|
328
|
-
`ActionView::Template#format`(Seb Jacobs, #2100)
|
349
|
+
`ActionView::Template#format`(Seb Jacobs, rspec/rspec-rails#2100)
|
329
350
|
* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
|
330
|
-
are generated correctly. (Jon Rowe, #2164)
|
351
|
+
are generated correctly. (Jon Rowe, rspec/rspec-rails#2164)
|
331
352
|
* `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
|
332
|
-
(Penelope Phippen, #2076)
|
353
|
+
(Penelope Phippen, rspec/rspec-rails#2076)
|
333
354
|
* Prevent `driven_by(:selenium)` being called due to hook precedence.
|
334
|
-
(Takumi Shotoku, #2188)
|
355
|
+
(Takumi Shotoku, rspec/rspec-rails#2188)
|
335
356
|
* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
|
336
|
-
6.1 development version. (Edouard Chin, #2215)
|
337
|
-
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
|
357
|
+
6.1 development version. (Edouard Chin, rspec/rspec-rails#2215)
|
358
|
+
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, rspec/rspec-rails#2256)
|
338
359
|
* Restore previous conditional check for setting `default_url_options` in feature
|
339
|
-
specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
|
360
|
+
specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, rspec/rspec-rails#2277)
|
340
361
|
* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
|
341
|
-
(Jonathan Rochkind, #2242)
|
342
|
-
* `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
|
343
|
-
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)
|
344
|
-
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
|
362
|
+
(Jonathan Rochkind, rspec/rspec-rails#2242)
|
363
|
+
* `rails generate generator` command now creates related spec file (Joel Azemar, rspec/rspec-rails#2217)
|
364
|
+
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, rspec/rspec-rails#2281)
|
365
|
+
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, rspec/rspec-rails#2293)
|
345
366
|
|
346
367
|
Breaking Changes:
|
347
368
|
|
@@ -353,7 +374,7 @@ Breaking Changes:
|
|
353
374
|
|
354
375
|
Bug Fixes:
|
355
376
|
|
356
|
-
* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
|
377
|
+
* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, rspec/rspec-rails#2117)
|
357
378
|
|
358
379
|
### 3.9.0 / 2019-10-08
|
359
380
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
@@ -361,18 +382,18 @@ Bug Fixes:
|
|
361
382
|
Enhancements
|
362
383
|
|
363
384
|
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
364
|
-
supported. (OKURA Masafumi, #2048)
|
385
|
+
supported. (OKURA Masafumi, rspec/rspec-rails#2048)
|
365
386
|
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
366
|
-
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
367
|
-
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
368
|
-
* Add generator for generator specs. (@ConSou, #2085)
|
369
|
-
* Add option to generate routes when generating controller specs. (David Revelo, #2134)
|
387
|
+
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, rspec/rspec-rails#2047)
|
388
|
+
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, rspec/rspec-rails#1933)
|
389
|
+
* Add generator for generator specs. (@ConSou, rspec/rspec-rails#2085)
|
390
|
+
* Add option to generate routes when generating controller specs. (David Revelo, rspec/rspec-rails#2134)
|
370
391
|
|
371
392
|
Bug Fixes:
|
372
393
|
|
373
394
|
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
374
395
|
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
375
|
-
(Emric Istanful, #2069)
|
396
|
+
(Emric Istanful, rspec/rspec-rails#2069)
|
376
397
|
|
377
398
|
### 3.8.3 / 2019-10-03
|
378
399
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
@@ -380,9 +401,9 @@ Bug Fixes:
|
|
380
401
|
Bug Fixes:
|
381
402
|
|
382
403
|
* Namespaced fixtures now generate a `/` separated path rather than an `_`.
|
383
|
-
(@nxlith, #2077)
|
404
|
+
(@nxlith, rspec/rspec-rails#2077)
|
384
405
|
* Check the arity of `errors` before attempting to use it to generate the `be_valid`
|
385
|
-
error message. (Kevin Kuchta, #2096)
|
406
|
+
error message. (Kevin Kuchta, rspec/rspec-rails#2096)
|
386
407
|
|
387
408
|
### 3.8.2 / 2019-01-13
|
388
409
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
@@ -390,13 +411,13 @@ Bug Fixes:
|
|
390
411
|
Bug Fixes:
|
391
412
|
|
392
413
|
* Fix issue with generator for preview specs where `Mailer` would be duplicated
|
393
|
-
in the name. (Kohei Sugi, #2037)
|
394
|
-
* Fix the request spec generator to handle namespaced files. (Kohei Sugi, #2057)
|
414
|
+
in the name. (Kohei Sugi, rspec/rspec-rails#2037)
|
415
|
+
* Fix the request spec generator to handle namespaced files. (Kohei Sugi, rspec/rspec-rails#2057)
|
395
416
|
* Further truncate system test filenames to handle cases when extra words are
|
396
|
-
prepended. (Takumi Kaji, #2058)
|
417
|
+
prepended. (Takumi Kaji, rspec/rspec-rails#2058)
|
397
418
|
* Backport: Make the `ActiveJob` matchers fail when multiple jobs are queued
|
398
419
|
for negated matches. e.g. `expect { job; job; }.to_not have_enqueued_job
|
399
|
-
(Emric Istanful, #2069)
|
420
|
+
(Emric Istanful, rspec/rspec-rails#2069)
|
400
421
|
|
401
422
|
### 3.8.1 / 2018-10-23
|
402
423
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
@@ -404,11 +425,11 @@ Bug Fixes:
|
|
404
425
|
Bug Fixes:
|
405
426
|
|
406
427
|
* Fix `NoMethodError: undefined method 'strip'` when using a `Pathname` object
|
407
|
-
as the fixture file path. (Aaron Kromer, #2026)
|
428
|
+
as the fixture file path. (Aaron Kromer, rspec/rspec-rails#2026)
|
408
429
|
* When generating feature specs, do not duplicate namespace in the path name.
|
409
|
-
(Laura Paakkinen, #2034)
|
430
|
+
(Laura Paakkinen, rspec/rspec-rails#2034)
|
410
431
|
* Prevent `ActiveJob::DeserializationError` from being issued when `ActiveJob`
|
411
|
-
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
432
|
+
matchers de-serialize arguments. (@aymeric-ledorze, rspec/rspec-rails#2036)
|
412
433
|
|
413
434
|
### 3.8.0 / 2018-08-04
|
414
435
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
@@ -416,25 +437,25 @@ Bug Fixes:
|
|
416
437
|
Enhancements:
|
417
438
|
|
418
439
|
* Improved message when migrations are pending in the default `rails_helper.rb`
|
419
|
-
(Koichi ITO, #1924)
|
440
|
+
(Koichi ITO, rspec/rspec-rails#1924)
|
420
441
|
* `have_http_status` matcher now supports Rails 5.2 style response symbols
|
421
|
-
(Douglas Lovell, #1951)
|
442
|
+
(Douglas Lovell, rspec/rspec-rails#1951)
|
422
443
|
* Change generated Rails helper to match Rails standards for Rails.root
|
423
|
-
(Alessandro Rodi, #1960)
|
444
|
+
(Alessandro Rodi, rspec/rspec-rails#1960)
|
424
445
|
* At support for asserting enqueued jobs have no wait period attached.
|
425
|
-
(Brad Charna, #1977)
|
446
|
+
(Brad Charna, rspec/rspec-rails#1977)
|
426
447
|
* Cache instances of `ActionView::Template` used in `stub_template` resulting
|
427
|
-
in increased performance due to less allocations and setup. (Simon Coffey, #1979)
|
448
|
+
in increased performance due to less allocations and setup. (Simon Coffey, rspec/rspec-rails#1979)
|
428
449
|
* Rails scaffold generator now respects longer namespaces (e.g. api/v1/\<thing\>).
|
429
|
-
(Laura Paakkinen, #1958)
|
450
|
+
(Laura Paakkinen, rspec/rspec-rails#1958)
|
430
451
|
|
431
452
|
Bug Fixes:
|
432
453
|
|
433
454
|
* Escape quotation characters when producing method names for system spec
|
434
|
-
screenshots. (Shane Cavanaugh, #1955)
|
455
|
+
screenshots. (Shane Cavanaugh, rspec/rspec-rails#1955)
|
435
456
|
* Use relative path for resolving fixtures when `fixture_path` is not set.
|
436
|
-
(Laurent Cobos, #1943)
|
437
|
-
* Allow custom template resolvers in view specs. (@ahorek, #1941)
|
457
|
+
(Laurent Cobos, rspec/rspec-rails#1943)
|
458
|
+
* Allow custom template resolvers in view specs. (@ahorek, rspec/rspec-rails#1941)
|
438
459
|
|
439
460
|
|
440
461
|
### 3.7.2 / 2017-11-20
|
@@ -442,16 +463,16 @@ Bug Fixes:
|
|
442
463
|
|
443
464
|
Bug Fixes:
|
444
465
|
|
445
|
-
* Delay loading system test integration until used. (Jon Rowe, #1903)
|
466
|
+
* Delay loading system test integration until used. (Jon Rowe, rspec/rspec-rails#1903)
|
446
467
|
* Ensure specs using the aggregate failures feature take screenshots on failure.
|
447
|
-
(Matt Brictson, #1907)
|
468
|
+
(Matt Brictson, rspec/rspec-rails#1907)
|
448
469
|
|
449
470
|
### 3.7.1 / 2017-10-18
|
450
471
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
451
472
|
|
452
473
|
Bug Fixes:
|
453
474
|
|
454
|
-
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
475
|
+
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, rspec/rspec-rails#1884)
|
455
476
|
|
456
477
|
### 3.7.0 / 2017-10-17
|
457
478
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
@@ -459,27 +480,27 @@ Bug Fixes:
|
|
459
480
|
Bug Fixes:
|
460
481
|
|
461
482
|
* Prevent "template not rendered" log message from erroring in threaded
|
462
|
-
environments. (Samuel Cochran, #1831)
|
463
|
-
* Correctly generate job name in error message. (Wojciech Wnętrzak, #1814)
|
483
|
+
environments. (Samuel Cochran, rspec/rspec-rails#1831)
|
484
|
+
* Correctly generate job name in error message. (Wojciech Wnętrzak, rspec/rspec-rails#1814)
|
464
485
|
|
465
486
|
Enhancements:
|
466
487
|
|
467
488
|
* Allow `be_a_new(...).with(...)` matcher to accept matchers for
|
468
|
-
attribute values. (Britni Alexander, #1811)
|
469
|
-
* Only configure RSpec Mocks if it is fully loaded. (James Adam, #1856)
|
470
|
-
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
489
|
+
attribute values. (Britni Alexander, rspec/rspec-rails#1811)
|
490
|
+
* Only configure RSpec Mocks if it is fully loaded. (James Adam, rspec/rspec-rails#1856)
|
491
|
+
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, rspec/rspec-rails#1813)
|
471
492
|
|
472
493
|
### 3.6.0 / 2017-05-04
|
473
494
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
474
495
|
|
475
496
|
Enhancements:
|
476
497
|
|
477
|
-
* Add compatibility for Rails 5.1. (Sam Phippen, Yuichiro Kaneko, #1790)
|
498
|
+
* Add compatibility for Rails 5.1. (Sam Phippen, Yuichiro Kaneko, rspec/rspec-rails#1790)
|
478
499
|
|
479
500
|
Bug Fixes:
|
480
501
|
|
481
502
|
* Fix scaffold generator so that it does not generate broken controller specs
|
482
|
-
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
503
|
+
on Rails 3.x and 4.x. (Yuji Nakayama, rspec/rspec-rails#1710)
|
483
504
|
|
484
505
|
### 3.6.0.beta2 / 2016-12-12
|
485
506
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
@@ -487,19 +508,19 @@ Bug Fixes:
|
|
487
508
|
Enhancements:
|
488
509
|
|
489
510
|
* Improve failure output of ActiveJob matchers by listing queued jobs.
|
490
|
-
(Wojciech Wnętrzak, #1722)
|
511
|
+
(Wojciech Wnętrzak, rspec/rspec-rails#1722)
|
491
512
|
* Load `spec_helper.rb` earlier in `rails_helper.rb` by default.
|
492
|
-
(Kevin Glowacz, #1795)
|
513
|
+
(Kevin Glowacz, rspec/rspec-rails#1795)
|
493
514
|
|
494
515
|
### 3.6.0.beta1 / 2016-10-09
|
495
516
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
496
517
|
|
497
518
|
Enhancements:
|
498
519
|
|
499
|
-
* Add support for `rake notes` in Rails `>= 5.1`. (John Meehan, #1661)
|
520
|
+
* Add support for `rake notes` in Rails `>= 5.1`. (John Meehan, rspec/rspec-rails#1661)
|
500
521
|
* Remove `assigns` and `assert_template` from scaffold spec generators (Josh
|
501
|
-
Justice, #1689)
|
502
|
-
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
522
|
+
Justice, rspec/rspec-rails#1689)
|
523
|
+
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, rspec/rspec-rails#1685)
|
503
524
|
|
504
525
|
### 3.5.2 / 2016-08-26
|
505
526
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
@@ -507,9 +528,9 @@ Enhancements:
|
|
507
528
|
Bug Fixes:
|
508
529
|
|
509
530
|
* Stop unnecessarily loading `rspec/core` from `rspec/rails` to avoid
|
510
|
-
IRB context warning. (Myron Marston, #1678)
|
531
|
+
IRB context warning. (Myron Marston, rspec/rspec-rails#1678)
|
511
532
|
* Deserialize arguments within ActiveJob matchers correctly.
|
512
|
-
(Wojciech Wnętrzak, #1684)
|
533
|
+
(Wojciech Wnętrzak, rspec/rspec-rails#1684)
|
513
534
|
|
514
535
|
### 3.5.1 / 2016-07-08
|
515
536
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
@@ -530,30 +551,30 @@ Bug Fixes:
|
|
530
551
|
|
531
552
|
Enhancements:
|
532
553
|
|
533
|
-
* Add support for block when using `with` on `have_enqueued_job`. (John Schroeder, #1578)
|
534
|
-
* Add support for `file_fixture(...)`. (Wojciech Wnętrzak, #1587)
|
535
|
-
* Add support for `setup` and `teardown` with blocks (Miklós Fazekas, #1598)
|
554
|
+
* Add support for block when using `with` on `have_enqueued_job`. (John Schroeder, rspec/rspec-rails#1578)
|
555
|
+
* Add support for `file_fixture(...)`. (Wojciech Wnętrzak, rspec/rspec-rails#1587)
|
556
|
+
* Add support for `setup` and `teardown` with blocks (Miklós Fazekas, rspec/rspec-rails#1598)
|
536
557
|
* Add `enqueue_job ` alias for `have_enqueued_job`, support `once`/`twice`/
|
537
558
|
`thrice`, add `have_been_enqueued` matcher to support use without blocks.
|
538
|
-
(Sergey Alexandrovich, #1613)
|
559
|
+
(Sergey Alexandrovich, rspec/rspec-rails#1613)
|
539
560
|
|
540
561
|
Bug fixes:
|
541
562
|
|
542
|
-
* Prevent asset helpers from taking precedence over route helpers. (Prem Sichanugrist, #1496)
|
563
|
+
* Prevent asset helpers from taking precedence over route helpers. (Prem Sichanugrist, rspec/rspec-rails#1496)
|
543
564
|
* Prevent `NoMethodError` during failed `have_rendered` assertions on weird templates.
|
544
|
-
(Jon Rowe, #1623).
|
565
|
+
(Jon Rowe, rspec/rspec-rails#1623).
|
545
566
|
|
546
567
|
### 3.5.0.beta3 / 2016-04-02
|
547
568
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
548
569
|
|
549
570
|
Enhancements:
|
550
571
|
|
551
|
-
* Add support for Rails 5 Beta 3 (Sam Phippen, Benjamin Quorning, Koen Punt, #1589, #1573)
|
572
|
+
* Add support for Rails 5 Beta 3 (Sam Phippen, Benjamin Quorning, Koen Punt, rspec/rspec-rails#1589, rspec/rspec-rails#1573)
|
552
573
|
|
553
574
|
Bug fixes:
|
554
575
|
|
555
576
|
* Support custom resolvers when preventing views from rendering.
|
556
|
-
(Jon Rowe, Benjamin Quorning, #1580)
|
577
|
+
(Jon Rowe, Benjamin Quorning, rspec/rspec-rails#1580)
|
557
578
|
|
558
579
|
### 3.5.0.beta2 / 2016-03-10
|
559
580
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
@@ -562,12 +583,12 @@ Enhancements:
|
|
562
583
|
|
563
584
|
* Include `ActionDispatch::IntegrationTest::Behavior` in request spec
|
564
585
|
example groups when on Rails 5, allowing integration test helpers
|
565
|
-
to be used in request specs. (Scott Bronson, #1560)
|
586
|
+
to be used in request specs. (Scott Bronson, rspec/rspec-rails#1560)
|
566
587
|
|
567
588
|
Bug fixes:
|
568
589
|
|
569
590
|
* Make it possible to use floats in auto generated (scaffold) tests.
|
570
|
-
(Alwahsh, #1550)
|
591
|
+
(Alwahsh, rspec/rspec-rails#1550)
|
571
592
|
|
572
593
|
### 3.5.0.beta1 / 2016-02-06
|
573
594
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
@@ -575,20 +596,20 @@ Bug fixes:
|
|
575
596
|
Enhancements:
|
576
597
|
|
577
598
|
* Add a `--singularize` option for the feature spec generator (Felicity McCabe,
|
578
|
-
#1503)
|
579
|
-
* Prevent leaking TestUnit methods in Rails 4+ (Fernando Seror Garcia, #1512)
|
580
|
-
* Add support for Rails 5 (Sam Phippen, #1492)
|
599
|
+
rspec/rspec-rails#1503)
|
600
|
+
* Prevent leaking TestUnit methods in Rails 4+ (Fernando Seror Garcia, rspec/rspec-rails#1512)
|
601
|
+
* Add support for Rails 5 (Sam Phippen, rspec/rspec-rails#1492)
|
581
602
|
|
582
603
|
Bug fixes:
|
583
604
|
|
584
605
|
* Make it possible to write nested specs within helper specs on classes that are
|
585
|
-
internal to helper classes. (Sam Phippen, Peter Swan, #1499).
|
606
|
+
internal to helper classes. (Sam Phippen, Peter Swan, rspec/rspec-rails#1499).
|
586
607
|
* Warn if a fixture method is called from a `before(:context)` block, instead of
|
587
|
-
crashing with a `undefined method for nil:NilClass`. (Sam Phippen, #1501)
|
588
|
-
* Expose path to view specs (Ryan Clark, Sarah Mei, Sam Phippen, #1402)
|
589
|
-
* Prevent installing Rails 3.2.22.1 on Ruby 1.8.7. (Jon Rowe, #1540)
|
608
|
+
crashing with a `undefined method for nil:NilClass`. (Sam Phippen, rspec/rspec-rails#1501)
|
609
|
+
* Expose path to view specs (Ryan Clark, Sarah Mei, Sam Phippen, rspec/rspec-rails#1402)
|
610
|
+
* Prevent installing Rails 3.2.22.1 on Ruby 1.8.7. (Jon Rowe, rspec/rspec-rails#1540)
|
590
611
|
* Raise a clear error when `have_enqueued_job` is used with non-test
|
591
|
-
adapter. (Wojciech Wnętrzak, #1489)
|
612
|
+
adapter. (Wojciech Wnętrzak, rspec/rspec-rails#1489)
|
592
613
|
|
593
614
|
### 3.4.2 / 2016-02-02
|
594
615
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
@@ -596,7 +617,7 @@ Bug fixes:
|
|
596
617
|
Bug Fixes:
|
597
618
|
|
598
619
|
* Cache template resolvers during path lookup to prevent performance
|
599
|
-
regression from #1535. (Andrew White, #1544)
|
620
|
+
regression from rspec/rspec-rails#1535. (Andrew White, rspec/rspec-rails#1544)
|
600
621
|
|
601
622
|
### 3.4.1 / 2016-01-25
|
602
623
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
@@ -604,7 +625,7 @@ Bug Fixes:
|
|
604
625
|
Bug Fixes:
|
605
626
|
|
606
627
|
* Fix no method error when rendering templates with explicit `:file`
|
607
|
-
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
628
|
+
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, rspec/rspec-rails#1535)
|
608
629
|
|
609
630
|
### 3.4.0 / 2015-11-11
|
610
631
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
@@ -612,20 +633,20 @@ Bug Fixes:
|
|
612
633
|
Enhancements:
|
613
634
|
|
614
635
|
* Improved the failure message for `have_rendered` matcher on a redirect
|
615
|
-
response. (Alex Egan, #1440)
|
636
|
+
response. (Alex Egan, rspec/rspec-rails#1440)
|
616
637
|
* Add configuration option to filter out Rails gems from backtraces.
|
617
|
-
(Bradley Schaefer, #1458)
|
638
|
+
(Bradley Schaefer, rspec/rspec-rails#1458)
|
618
639
|
* Enable resolver cache for view specs for a large speed improvement
|
619
|
-
(Chris Zetter, #1452)
|
640
|
+
(Chris Zetter, rspec/rspec-rails#1452)
|
620
641
|
* Add `have_enqueued_job` matcher for checking if a block has queued jobs.
|
621
|
-
(Wojciech Wnętrzak, #1464)
|
642
|
+
(Wojciech Wnętrzak, rspec/rspec-rails#1464)
|
622
643
|
|
623
644
|
Bug Fixes:
|
624
645
|
|
625
646
|
* Fix another load order issued which causes an undefined method `fixture_path` error
|
626
|
-
when loading rspec-rails after a spec has been created. (Nikki Murray, #1430)
|
647
|
+
when loading rspec-rails after a spec has been created. (Nikki Murray, rspec/rspec-rails#1430)
|
627
648
|
* Removed incorrect surrounding whitespace in the rspec-rails backtrace
|
628
|
-
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
649
|
+
exclusion pattern for its own `lib` code. (Jam Black, rspec/rspec-rails#1439)
|
629
650
|
|
630
651
|
### 3.3.3 / 2015-07-15
|
631
652
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
@@ -633,7 +654,7 @@ Bug Fixes:
|
|
633
654
|
Bug Fixes:
|
634
655
|
|
635
656
|
* Fix issue with generators caused by `Rails.configuration.hidden_namespaces`
|
636
|
-
including symbols. (Dan Kohn, #1414)
|
657
|
+
including symbols. (Dan Kohn, rspec/rspec-rails#1414)
|
637
658
|
|
638
659
|
### 3.3.2 / 2015-06-18
|
639
660
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
@@ -643,7 +664,7 @@ Bug Fixes:
|
|
643
664
|
* Fix regression that caused stubbing abstract ActiveRecord model
|
644
665
|
classes to trigger internal errors in rails due the the verifying
|
645
666
|
double lifecycle wrongly calling `define_attribute_methods` on the
|
646
|
-
abstract AR class. (Jon Rowe, #1396)
|
667
|
+
abstract AR class. (Jon Rowe, rspec/rspec-rails#1396)
|
647
668
|
|
648
669
|
### 3.3.1 / 2015-06-14
|
649
670
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
@@ -651,25 +672,25 @@ Bug Fixes:
|
|
651
672
|
Bug Fixes:
|
652
673
|
|
653
674
|
* Fix regression that caused stubbing ActiveRecord model classes to
|
654
|
-
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
675
|
+
trigger internal errors in rails. (Myron Marston, Aaron Kromer, rspec/rspec-rails#1395)
|
655
676
|
|
656
677
|
### 3.3.0 / 2015-06-12
|
657
678
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
658
679
|
|
659
680
|
Enhancements:
|
660
681
|
|
661
|
-
* Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336)
|
682
|
+
* Add support for PATCH to route specs created via scaffold. (Igor Zubkov, rspec/rspec-rails#1336)
|
662
683
|
* Improve controller and routing spec calls to `routes` by using `yield`
|
663
|
-
instead of `call`. (Anton Davydov, #1308)
|
684
|
+
instead of `call`. (Anton Davydov, rspec/rspec-rails#1308)
|
664
685
|
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGroup`s
|
665
686
|
via both `type: :job` and inferring type from spec directory `spec/jobs`.
|
666
|
-
(Gabe Martin-Dempesy, #1361)
|
687
|
+
(Gabe Martin-Dempesy, rspec/rspec-rails#1361)
|
667
688
|
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
|
668
|
-
`use_fixtures: true`. (Aaron Kromer, #1372)
|
689
|
+
`use_fixtures: true`. (Aaron Kromer, rspec/rspec-rails#1372)
|
669
690
|
* Include `rspec:request` generator for generating request specs; this is an
|
670
|
-
alias of `rspec:integration` (Aaron Kromer, #1378)
|
691
|
+
alias of `rspec:integration` (Aaron Kromer, rspec/rspec-rails#1378)
|
671
692
|
* Update `rails_helper` generator with a default check to abort the spec run
|
672
|
-
when the Rails environment is production. (Aaron Kromer, #1383)
|
693
|
+
when the Rails environment is production. (Aaron Kromer, rspec/rspec-rails#1383)
|
673
694
|
|
674
695
|
### 3.2.3 / 2015-06-06
|
675
696
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
@@ -677,7 +698,7 @@ Enhancements:
|
|
677
698
|
Bug Fixes:
|
678
699
|
|
679
700
|
* Fix regression with the railtie resulting in undefined method `preview_path=`
|
680
|
-
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
701
|
+
on Rails 3.x and 4.0 (Aaron Kromer, rspec/rspec-rails#1388)
|
681
702
|
|
682
703
|
### 3.2.2 / 2015-06-03
|
683
704
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
@@ -685,12 +706,12 @@ Bug Fixes:
|
|
685
706
|
Bug Fixes:
|
686
707
|
|
687
708
|
* Fix auto-including of generic `Helper` object for view specs sitting in the
|
688
|
-
`app/views` root (David Daniell, #1289)
|
689
|
-
* Remove pre-loading of ActionMailer in the Railtie (Aaron Kromer, #1327)
|
709
|
+
`app/views` root (David Daniell, rspec/rspec-rails#1289)
|
710
|
+
* Remove pre-loading of ActionMailer in the Railtie (Aaron Kromer, rspec/rspec-rails#1327)
|
690
711
|
* Fix undefined method `need_auto_run=` error when using Ruby 2.1 and Rails 3.2
|
691
|
-
without the test-unit gem (Orien Madgwick, #1350)
|
712
|
+
without the test-unit gem (Orien Madgwick, rspec/rspec-rails#1350)
|
692
713
|
* Fix load order issued which causes an undefined method `fixture_path` error
|
693
|
-
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
714
|
+
when loading rspec-rails after a spec has been created. (Aaron Kromer, rspec/rspec-rails#1372)
|
694
715
|
|
695
716
|
### 3.2.1 / 2015-02-23
|
696
717
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
@@ -698,71 +719,71 @@ Bug Fixes:
|
|
698
719
|
Bug Fixes:
|
699
720
|
|
700
721
|
* Add missing `require` to RSpec generator root fixing an issue where Rail's
|
701
|
-
autoload does not find it in some environments. (Aaron Kromer, #1305)
|
702
|
-
* `be_routable` matcher now has the correct description. (Tony Ta, #1310)
|
703
|
-
* Fix dependency to allow Rails 4.2.x patches / pre-releases (Lucas Mazza, #1318)
|
722
|
+
autoload does not find it in some environments. (Aaron Kromer, rspec/rspec-rails#1305)
|
723
|
+
* `be_routable` matcher now has the correct description. (Tony Ta, rspec/rspec-rails#1310)
|
724
|
+
* Fix dependency to allow Rails 4.2.x patches / pre-releases (Lucas Mazza, rspec/rspec-rails#1318)
|
704
725
|
* Disable the `test-unit` gem's autorunner on projects running Rails < 4.1 and
|
705
|
-
Ruby < 2.2 (Aaron Kromer, #1320)
|
726
|
+
Ruby < 2.2 (Aaron Kromer, rspec/rspec-rails#1320)
|
706
727
|
|
707
728
|
### 3.2.0 / 2015-02-03
|
708
729
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
709
730
|
|
710
731
|
Enhancements:
|
711
732
|
|
712
|
-
* Include generator for `ActionMailer` mailer previews (Takashi Nakagawa, #1185)
|
713
|
-
* Configure the `ActionMailer` preview path via a Railtie (Aaron Kromer, #1236)
|
714
|
-
* Show all RSpec generators when running `rails generate` (Eliot Sykes, #1248)
|
715
|
-
* Support Ruby 2.2 with Rails 3.2 and 4.x (Aaron Kromer, #1264, #1277)
|
733
|
+
* Include generator for `ActionMailer` mailer previews (Takashi Nakagawa, rspec/rspec-rails#1185)
|
734
|
+
* Configure the `ActionMailer` preview path via a Railtie (Aaron Kromer, rspec/rspec-rails#1236)
|
735
|
+
* Show all RSpec generators when running `rails generate` (Eliot Sykes, rspec/rspec-rails#1248)
|
736
|
+
* Support Ruby 2.2 with Rails 3.2 and 4.x (Aaron Kromer, rspec/rspec-rails#1264, rspec/rspec-rails#1277)
|
716
737
|
* Improve `instance_double` to support verifying dynamic column methods defined
|
717
|
-
by `ActiveRecord` (Jon Rowe, #1238)
|
738
|
+
by `ActiveRecord` (Jon Rowe, rspec/rspec-rails#1238)
|
718
739
|
* Mirror the use of Ruby 1.9 hash syntax for the `type` tags in the spec
|
719
|
-
generators on Rails 4. (Michael Stock, #1292)
|
740
|
+
generators on Rails 4. (Michael Stock, rspec/rspec-rails#1292)
|
720
741
|
|
721
742
|
Bug Fixes:
|
722
743
|
|
723
744
|
* Fix `rspec:feature` generator to use `RSpec` namespace preventing errors when
|
724
|
-
monkey-patching is disabled. (Rebecca Skinner, #1231)
|
745
|
+
monkey-patching is disabled. (Rebecca Skinner, rspec/rspec-rails#1231)
|
725
746
|
* Fix `NoMethodError` caused by calling `RSpec.feature` when Capybara is not
|
726
|
-
available or the Capybara version is < 2.4.0. (Aaron Kromer, #1261)
|
747
|
+
available or the Capybara version is < 2.4.0. (Aaron Kromer, rspec/rspec-rails#1261)
|
727
748
|
* Fix `ArgumentError` when using an anonymous controller which inherits an
|
728
|
-
outer group's anonymous controller. (Yuji Nakayama, #1260)
|
749
|
+
outer group's anonymous controller. (Yuji Nakayama, rspec/rspec-rails#1260)
|
729
750
|
* Fix "Test is not a class (TypeError)" error when using a custom `Test` class
|
730
|
-
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
751
|
+
in Rails 4.1 and 4.2. (Aaron Kromer, rspec/rspec-rails#1295)
|
731
752
|
|
732
753
|
### 3.1.0 / 2014-09-04
|
733
754
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
734
755
|
|
735
756
|
Enhancements:
|
736
757
|
|
737
|
-
* Switch to using the `have_http_status` matcher in spec generators. (Aaron Kromer, #1086)
|
758
|
+
* Switch to using the `have_http_status` matcher in spec generators. (Aaron Kromer, rspec/rspec-rails#1086)
|
738
759
|
* Update `rails_helper` generator to allow users to opt-in to auto-loading
|
739
|
-
`spec/support` files instead of forcing it upon them. (Aaron Kromer, #1137)
|
740
|
-
* Include generator for `ActiveJob`. (Abdelkader Boudih, #1155)
|
760
|
+
`spec/support` files instead of forcing it upon them. (Aaron Kromer, rspec/rspec-rails#1137)
|
761
|
+
* Include generator for `ActiveJob`. (Abdelkader Boudih, rspec/rspec-rails#1155)
|
741
762
|
* Improve support for non-ActiveRecord apps by not loading ActiveRecord related
|
742
|
-
settings in the generated `rails_helper`. (Aaron Kromer, #1150)
|
743
|
-
* Remove Ruby warnings as a suggested configuration. (Aaron Kromer, #1163)
|
744
|
-
* Improve the semantics of the controller spec for scaffolds. (Griffin Smith, #1204)
|
745
|
-
* Use `#method` syntax in all generated controller specs. (Griffin Smith, #1206)
|
763
|
+
settings in the generated `rails_helper`. (Aaron Kromer, rspec/rspec-rails#1150)
|
764
|
+
* Remove Ruby warnings as a suggested configuration. (Aaron Kromer, rspec/rspec-rails#1163)
|
765
|
+
* Improve the semantics of the controller spec for scaffolds. (Griffin Smith, rspec/rspec-rails#1204)
|
766
|
+
* Use `#method` syntax in all generated controller specs. (Griffin Smith, rspec/rspec-rails#1206)
|
746
767
|
|
747
768
|
Bug Fixes:
|
748
769
|
|
749
|
-
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
770
|
+
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, rspec/rspec-rails#1142)
|
750
771
|
|
751
772
|
### 3.0.2 / 2014-07-21
|
752
773
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
753
774
|
|
754
775
|
Bug Fixes:
|
755
776
|
|
756
|
-
* Suppress warning in `SetupAndTeardownAdapter`. (André Arko, #1085)
|
757
|
-
* Remove dependency on Rubygems. (Andre Arko & Doc Riteze, #1099)
|
758
|
-
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
777
|
+
* Suppress warning in `SetupAndTeardownAdapter`. (André Arko, rspec/rspec-rails#1085)
|
778
|
+
* Remove dependency on Rubygems. (Andre Arko & Doc Riteze, rspec/rspec-rails#1099)
|
779
|
+
* Standardize controller spec template style. (Thomas Kriechbaumer, rspec/rspec-rails#1122)
|
759
780
|
|
760
781
|
### 3.0.1 / 2014-06-02
|
761
782
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
762
783
|
|
763
784
|
Bug Fixes:
|
764
785
|
|
765
|
-
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
786
|
+
* Fix missing require in `rails g rspec:install`. (Sam Phippen, rspec/rspec-rails#1058)
|
766
787
|
|
767
788
|
### 3.0.0 / 2014-06-01
|
768
789
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|