rspec-rails 7.1.0 → 8.0.4

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