rspec-rails 3.0.2 → 7.1.1

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