rspec-rails 3.8.2 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/Capybara.md +5 -54
  4. data/Changelog.md +440 -76
  5. data/README.md +281 -500
  6. data/lib/generators/rspec/channel/channel_generator.rb +12 -0
  7. data/lib/generators/rspec/{observer/templates/observer_spec.rb → channel/templates/channel_spec.rb.erb} +1 -1
  8. data/lib/generators/rspec/controller/controller_generator.rb +24 -7
  9. data/lib/generators/rspec/controller/templates/request_spec.rb +19 -0
  10. data/lib/generators/rspec/controller/templates/routing_spec.rb +13 -0
  11. data/lib/generators/rspec/feature/feature_generator.rb +3 -3
  12. data/lib/generators/rspec/generator/generator_generator.rb +24 -0
  13. data/lib/generators/rspec/generator/templates/generator_spec.rb +5 -0
  14. data/lib/generators/rspec/helper/helper_generator.rb +2 -2
  15. data/lib/generators/rspec/install/install_generator.rb +23 -6
  16. data/lib/generators/rspec/install/templates/spec/rails_helper.rb +32 -17
  17. data/lib/generators/rspec/job/job_generator.rb +2 -1
  18. data/lib/generators/rspec/job/templates/job_spec.rb.erb +1 -1
  19. data/lib/generators/rspec/mailbox/mailbox_generator.rb +14 -0
  20. data/lib/generators/rspec/mailbox/templates/mailbox_spec.rb.erb +7 -0
  21. data/lib/generators/rspec/mailer/mailer_generator.rb +7 -4
  22. data/lib/generators/rspec/mailer/templates/mailer_spec.rb +2 -2
  23. data/lib/generators/rspec/mailer/templates/preview.rb +4 -4
  24. data/lib/generators/rspec/model/model_generator.rb +8 -7
  25. data/lib/generators/rspec/model/templates/fixtures.yml +1 -1
  26. data/lib/generators/rspec/request/request_generator.rb +10 -3
  27. data/lib/generators/rspec/scaffold/scaffold_generator.rb +36 -22
  28. data/lib/generators/rspec/scaffold/templates/api_controller_spec.rb +13 -49
  29. data/lib/generators/rspec/scaffold/templates/api_request_spec.rb +131 -0
  30. data/lib/generators/rspec/scaffold/templates/controller_spec.rb +14 -62
  31. data/lib/generators/rspec/scaffold/templates/edit_spec.rb +9 -9
  32. data/lib/generators/rspec/scaffold/templates/index_spec.rb +3 -2
  33. data/lib/generators/rspec/scaffold/templates/new_spec.rb +2 -6
  34. data/lib/generators/rspec/scaffold/templates/request_spec.rb +138 -0
  35. data/lib/generators/rspec/scaffold/templates/routing_spec.rb +8 -10
  36. data/lib/generators/rspec/scaffold/templates/show_spec.rb +2 -2
  37. data/lib/generators/rspec/system/system_generator.rb +24 -0
  38. data/lib/generators/rspec/system/templates/system_spec.rb +9 -0
  39. data/lib/generators/rspec/view/view_generator.rb +4 -4
  40. data/lib/generators/rspec.rb +16 -5
  41. data/lib/rspec/rails/adapters.rb +22 -76
  42. data/lib/rspec/rails/configuration.rb +112 -38
  43. data/lib/rspec/rails/example/channel_example_group.rb +93 -0
  44. data/lib/rspec/rails/example/controller_example_group.rb +5 -4
  45. data/lib/rspec/rails/example/feature_example_group.rb +6 -26
  46. data/lib/rspec/rails/example/helper_example_group.rb +2 -9
  47. data/lib/rspec/rails/example/mailbox_example_group.rb +80 -0
  48. data/lib/rspec/rails/example/mailer_example_group.rb +2 -2
  49. data/lib/rspec/rails/example/rails_example_group.rb +7 -1
  50. data/lib/rspec/rails/example/request_example_group.rb +1 -4
  51. data/lib/rspec/rails/example/routing_example_group.rb +0 -2
  52. data/lib/rspec/rails/example/system_example_group.rb +88 -16
  53. data/lib/rspec/rails/example/view_example_group.rb +40 -28
  54. data/lib/rspec/rails/example.rb +2 -0
  55. data/lib/rspec/rails/extensions/active_record/proxy.rb +5 -10
  56. data/lib/rspec/rails/feature_check.rb +16 -29
  57. data/lib/rspec/rails/file_fixture_support.rb +11 -10
  58. data/lib/rspec/rails/fixture_file_upload_support.rb +20 -15
  59. data/lib/rspec/rails/fixture_support.rb +64 -34
  60. data/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb +173 -0
  61. data/lib/rspec/rails/matchers/action_cable/have_streams.rb +58 -0
  62. data/lib/rspec/rails/matchers/action_cable.rb +65 -0
  63. data/lib/rspec/rails/matchers/action_mailbox.rb +73 -0
  64. data/lib/rspec/rails/matchers/active_job.rb +224 -24
  65. data/lib/rspec/rails/matchers/base_matcher.rb +179 -0
  66. data/lib/rspec/rails/matchers/be_a_new.rb +1 -1
  67. data/lib/rspec/rails/matchers/be_new_record.rb +1 -1
  68. data/lib/rspec/rails/matchers/be_valid.rb +1 -1
  69. data/lib/rspec/rails/matchers/have_enqueued_mail.rb +258 -0
  70. data/lib/rspec/rails/matchers/have_http_status.rb +23 -32
  71. data/lib/rspec/rails/matchers/have_rendered.rb +2 -1
  72. data/lib/rspec/rails/matchers/redirect_to.rb +1 -1
  73. data/lib/rspec/rails/matchers/relation_match_array.rb +1 -1
  74. data/lib/rspec/rails/matchers/routing_matchers.rb +13 -13
  75. data/lib/rspec/rails/matchers/send_email.rb +122 -0
  76. data/lib/rspec/rails/matchers.rb +12 -0
  77. data/lib/rspec/rails/tasks/rspec.rake +9 -17
  78. data/lib/rspec/rails/vendor/capybara.rb +10 -17
  79. data/lib/rspec/rails/version.rb +1 -1
  80. data/lib/rspec/rails/view_assigns.rb +0 -18
  81. data/lib/rspec/rails/view_path_builder.rb +1 -1
  82. data/lib/rspec/rails/view_rendering.rb +20 -7
  83. data/lib/rspec-rails.rb +36 -18
  84. data.tar.gz.sig +0 -0
  85. metadata +55 -37
  86. metadata.gz.sig +0 -0
  87. data/lib/generators/rspec/integration/integration_generator.rb +0 -22
  88. data/lib/generators/rspec/observer/observer_generator.rb +0 -13
  89. /data/lib/generators/rspec/{integration → request}/templates/request_spec.rb +0 -0
data/Changelog.md CHANGED
@@ -1,8 +1,371 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.8.2...master)
2
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.1...7-0-maintenance)
3
+
4
+ ### 7.0.1 / 2024-09-03
5
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.0...v7.0.1)
6
+
7
+ Bug Fixes:
8
+
9
+ * Remove mutation of Rails constant in favour of public api. (Petrik de Heus, #2789)
10
+ * Cleanup Rails scaffold for unsupported versions. (Matt Jankowski, #2790)
11
+ * Remove deprecated scaffold that was unintentionally included in 7.0.0
12
+ (Jon Rowe, #2791)
13
+
14
+ ### 7.0.0 / 2024-09-02
15
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.5...v7.0.0)
16
+
17
+ Enhancements:
18
+
19
+ * Change default driver for system specs on Rails 7.2 to match its default.
20
+ (Steve Polito, #2746)
21
+ * Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, #2745)
22
+ * Add suggestion to rails_helper.rb to skip when not in test most. (Glauco Custódio, #2751)
23
+ * Add `at_priority` qualifier to `have_enqueued_job` set of matchers. (mbajur, #2759)
24
+ * Add spec directories to `rails stats` on Rails main / 8.0.0. (Petrik de Heus, #2781)
25
+
26
+ ### 6.1.5 / 2024-09-02
27
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.4...v6.1.5)
28
+
29
+ Bug Fixes:
30
+
31
+ * Restore old order of requiring support files. (Franz Liedke, #2785)
32
+ * Prevent running `rake spec:statsetup` on Rails main / 8.0.0. (Petrik de Heus, #2781)
33
+
34
+ ### 6.1.4 / 2024-08-15
35
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.3...v6.1.4)
36
+
37
+ Bug Fixes:
38
+
39
+ * Prevent `have_http_status` matcher raising an error when encountering a raw `Rack::MockResponse`.
40
+ (Christophe Bliard, #2771)
41
+ * Move Rails version conditional from index scaffold generated file to template. (Matt Jankowski, #2777)
42
+
43
+ ### 6.1.3 / 2024-06-19
44
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.2...v6.1.3)
45
+
46
+ Bug Fixes:
47
+
48
+ * Reset `ActiveSupport::CurrentAttributes` between examples. (Javier Julio, #2752)
49
+ * Fix a broken link in generated mailer previews. (Chiara Núñez, #2764)
50
+ * Fix `have_status_code` behaviour with deprecated status names by delegating
51
+ to `Rack::Utils.status_code/1` to set the expected status code. (Darren Boyd, #2765)
52
+
53
+ ### 6.1.2 / 2024-03-19
54
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.1...v6.1.2)
55
+
56
+ Bug Fixes:
57
+
58
+ * Fix generated mailer paths to match Rails convention. (Patrício dos Santos, #2735)
59
+ * Fix class in template for generator specs. (Nicolas Buduroi, #2744)
60
+
61
+ ### 6.1.1 / 2024-01-25
62
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.1.0...v6.1.1)
63
+
64
+ Bug Fixes:
65
+
66
+ * Improved deprecation message for `RSpec::Rails::Configuration.fixture_paths`
67
+ (Benoit Tigeot, #2720)
68
+ * Fix support for namespaced fixtures in Rails 7.1. (Benedikt Deicke, #2716)
69
+
70
+ ### 6.1.0 / 2023-11-21
71
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.4...v6.1.0)
72
+
73
+ Enhancements:
74
+
75
+ * Support for Rails 7.1
76
+ * Minor tweak to generated `rails_helper.rb` to use `Rails.root.join`.
77
+ (@masato-bkn, Ryo Nakamura, #2640, #2678)
78
+ * Add `RSpec::Rails::Configuration.fixture_paths` configuration to support
79
+ the matching change to `ActiveRecord::TestFixtures`, previous singular
80
+ form is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, #2673)
81
+ * Add `send_email` matcher to match emails rather than specific jobs.
82
+ (Andrei Kaleshka, #2670)
83
+ * When using `render` in view specs, `:locals` will now be merged into the
84
+ default implicit template, allowing `render locals: {...}` style calls.
85
+ (Jon Rowe, #2686)
86
+ * Add support for `Rails.config.action_mailer.preview_paths` on Rails 7.1/
87
+ (Jon Rowe, #2706)
88
+
89
+ ### 6.0.4 / 2023-11-21
90
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.3...v6.0.4)
91
+
92
+ Bug Fixes:
93
+
94
+ * Fuzzy match `have_broadcasted_to` so that argument matchers can be used.
95
+ (Timothy Peraza, #2684)
96
+ * Fix fixture warning during `:context` hooks on Rails `main`. (Jon Rowe, #2685)
97
+ * Fix `stub_template` on Rails `main`. (Jon Rowe, #2685)
98
+ * Fix variable name in scaffolded view specs when namespaced. (Taketo Takashima, #2694)
99
+ * Prevent `take_failed_screenshot` producing an additional error through `metadata`
100
+ access. (Jon Rowe, #2704)
101
+ * Use `ActiveSupport::ExecutionContext::TestHelper` on Rails 7+. (Jon Rowe, #2711)
102
+ * Fix leak of templates stubbed with `stub_template` on Rails 7.1. (Jon Rowe, #2714)
103
+
104
+ ### 6.0.3 / 2023-05-31
105
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.2...v6.0.3)
106
+
107
+ Bug Fixes:
108
+
109
+ * Set `ActiveStorage::FixtureSet.file_fixture_path` when including file fixture support.
110
+ (Jason Yates, #2671)
111
+ * Allow `broadcast_to` matcher to take Symbols. (@Vagab, #2680)
112
+
113
+ ### 6.0.2 / 2023-05-04
114
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.1...v6.0.2)
115
+
116
+ Bug Fixes:
117
+
118
+ * Fix ActionView::PathSet when `render_views` is off for Rails 7.1.
119
+ (Eugene Kenny, Iliana, #2631)
120
+ * Support Rails 7.1's `#fixtures_paths` in example groups (removes a deprecation warning).
121
+ (Nicholas Simmons, #2664)
122
+ * Fix `have_enqueued_job` to properly detect enqueued jobs when other jobs were
123
+ performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #2573)
124
+
125
+ ### 6.0.1 / 2022-10-18
126
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...v6.0.1)
127
+
128
+ Bug Fixes:
129
+
130
+ * Prevent tagged logged support in Rails 7 calling `#name`. (Jon Rowe, #2625)
131
+
132
+ ### 6.0.0 / 2022-10-10
133
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.2...v6.0.0)
134
+
135
+ Enhancements:
136
+
137
+ * Support Rails 7
138
+ * Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, #2599)
139
+ * Generators now respects default path configuration option. (@vivekmiyani, #2508)
140
+
141
+ Breaking Changes:
142
+
143
+ * Drop support for Rails below 6.1
144
+ * Drop support for Ruby below 2.5 (following supported versions of Rails 6.1)
145
+ * Change the order of `after_teardown` from `after` to `around` in system
146
+ specs to improve compatibility with extensions and Capybara. (Tim Diggins, #2596)
147
+
148
+ Deprecations:
149
+
150
+ * Deprecates integration spec generator (`rspec:integration`)
151
+ which was an alias of request spec generator (`rspec:request`)
152
+ (Luka Lüdicke, #2374)
153
+
154
+ ### 5.1.2 / 2022-04-24
155
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.1...v5.1.2)
156
+
157
+ Bug Fixes:
158
+
159
+ * Fix controller scaffold templates parameter name. (Taketo Takashima, #2591)
160
+ * Include generator specs in the inferred list of specs. (Jason Karns, #2597)
161
+
162
+ ### 5.1.1 / 2022-03-07
163
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.0...v5.1.1)
164
+
165
+ Bug Fixes:
166
+
167
+ * Properly handle global id serialised arguments in `have_enqueued_mail`.
168
+ (Jon Rowe, #2578)
169
+
170
+ ### 5.1.0 / 2022-01-26
171
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.3...v5.1.0)
172
+
173
+ Enhancements:
174
+
175
+ * Make the API request scaffold template more consistent and compatible with
176
+ Rails 6.1. (Naoto Hamada, #2484)
177
+ * Change the scaffold `rails_helper.rb` template to use `require_relative`.
178
+ (Jon Dufresne, #2528)
179
+
180
+ ### 5.0.3 / 2022-01-26
181
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.2...v5.0.3)
182
+
183
+ Bug Fixes:
184
+
185
+ * Properly name params in controller and request spec templates when
186
+ using the `--model-name` parameter. (@kenzo-tanaka, #2534)
187
+ * Fix parameter matching with mail delivery job and
188
+ ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546)
189
+ * Fix Rails 7 `have_enqueued_mail` compatibility (Mikael Henriksson, #2537, #2546)
190
+
191
+ ### 5.0.2 / 2021-08-14
192
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.1...v5.0.2)
193
+
194
+ Bug Fixes:
195
+
196
+ * Prevent generated job specs from duplicating `_job` in filenames.
197
+ (Nick Flückiger, #2496)
198
+ * Fix `ActiveRecord::TestFixture#uses_transaction` by using example description
199
+ to replace example name rather than example in our monkey patched
200
+ `run_in_transaction?` method. (Stan Lo, #2495)
201
+ * Prevent keyword arguments being lost when methods are invoked dynamically
202
+ in controller specs. (Josh Cheek, #2509, #2514)
203
+
204
+ ### 5.0.1 / 2021-03-18
205
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)
206
+
207
+ Bug Fixes:
208
+
209
+ * Limit multibyte example descriptions when used in system tests for #method_name
210
+ which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
211
+
212
+ ### 5.0.0 / 2021-03-09
213
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...v5.0.0)
214
+
215
+ Enhancements:
216
+
217
+ * Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398)
218
+ * Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398)
219
+
220
+ Breaking Changes:
221
+
222
+ * Drop support for Rails below 5.2.
223
+
224
+ ### 4.1.1 / 2021-03-09
225
+
226
+ Bug Fixes:
227
+
228
+ * Remove generated specs when destroying a generated controller.
229
+ (@Naokimi, #2475)
230
+
231
+ ### 4.1.0 / 2021-03-06
232
+
233
+ Enhancements:
234
+
235
+ * Issue a warning when using job matchers with `#at` mismatch on `usec` precision.
236
+ (Jon Rowe, #2350)
237
+ * Generated request specs now have a bare `_spec` suffix instead of `request_spec`.
238
+ (Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
239
+ * Generated scaffold now includes engine route helpers when inside a mountable engine.
240
+ (Andrew W. Lee, #2372)
241
+ * Improve request spec "controller" scaffold when no action is specified.
242
+ (Thomas Hareau, #2399)
243
+ * Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
244
+ * Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
245
+ Rails. (Benoit Tigeot, #2461)
246
+
247
+ ### 4.0.2 / 2020-12-26
248
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...v4.0.2)
249
+
250
+ Bug Fixes:
251
+
252
+ * Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
253
+ * Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344)
254
+ * Return `true`/`false` from predicate methods in config rather than raw values.
255
+ (Phil Pirozhkov, Jon Rowe, #2353, #2354)
256
+ * Remove old #fixture_path feature detection code which broke under newer Rails.
257
+ (Koen Punt, Jon Rowe, #2370)
258
+ * Fix an error when `use_active_record` is `false` (Phil Pirozhkov, #2423)
259
+
260
+ ### 4.0.1 / 2020-05-16
261
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0...v4.0.1)
262
+
263
+ Bug Fixes:
264
+
265
+ * Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302)
266
+ * Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
267
+ * Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob`
268
+ is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
269
+ * Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
270
+ * Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)
271
+
272
+ ### 4.0.0 / 2020-03-24
273
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
274
+
275
+ Enhancements:
276
+
277
+ * Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
278
+ * Adds support for JRuby on Rails 5.2 and 6
279
+ * Add support for parameterised mailers (Ignatius Reza, #2125)
280
+ * Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
281
+ * Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
282
+ * Add support for partial args when using `have_enqueued_mail`
283
+ (Ignatius Reza, #2118, #2125)
284
+ * Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
285
+ * Improve path parsing in view specs render options. (John Hawthorn, #2115)
286
+ * Add routing spec template as an option for generating controller specs.
287
+ (David Revelo, #2134)
288
+ * Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
289
+ * Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
290
+ * Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
291
+ matchers (Isaac Seymour, #1785)
292
+ * Default to generating request specs rather than controller specs when
293
+ generating a controller (Luka Lüdicke, #2222)
294
+ * Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283)
295
+ * The scaffold generator now generates request specs in preference to controller specs.
296
+ (Luka Lüdicke, #2288)
297
+ * Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
298
+ * Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs.
299
+ (ta1kt0me, Benoit Tigeot, #2289)
300
+
301
+ Bug Fixes:
302
+
303
+ * `EmptyTemplateHandler.call` now needs to support an additional argument in
304
+ Rails 6. (Pavel Rosický, #2089)
305
+ * Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
306
+ deprecated. (Pavel Rosický, #2092)
307
+ * `ActionView::Template#formats` has been deprecated and replaced by
308
+ `ActionView::Template#format`(Seb Jacobs, #2100)
309
+ * Replace `before_teardown` as well as `after_teardown` to ensure screenshots
310
+ are generated correctly. (Jon Rowe, #2164)
311
+ * `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
312
+ (Penelope Phippen, #2076)
313
+ * Prevent `driven_by(:selenium)` being called due to hook precedence.
314
+ (Takumi Shotoku, #2188)
315
+ * Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
316
+ 6.1 development version. (Edouard Chin, #2215)
317
+ * Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
318
+ * Restore previous conditional check for setting `default_url_options` in feature
319
+ specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
320
+ * Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
321
+ (Jonathan Rochkind, #2242)
322
+ * `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
323
+ * Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)
324
+ * Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
325
+
326
+ Breaking Changes:
327
+
328
+ * Drops support for Rails below 5.0
329
+ * Drops support for Ruby below 2.3
330
+
331
+ ### 3.9.1 / 2020-03-10
332
+ [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1)
333
+
334
+ Bug Fixes:
335
+
336
+ * Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
337
+
338
+ ### 3.9.0 / 2019-10-08
339
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
340
+
341
+ Enhancements
342
+
343
+ * Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
344
+ supported. (OKURA Masafumi, #2048)
345
+ * Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
346
+ making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
347
+ * Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
348
+ * Add generator for generator specs. (@ConSou, #2085)
349
+ * Add option to generate routes when generating controller specs. (David Revelo, #2134)
350
+
351
+ Bug Fixes:
352
+
353
+ * Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
354
+ matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
355
+ (Emric Istanful, #2069)
356
+
357
+ ### 3.8.3 / 2019-10-03
358
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
359
+
360
+ Bug Fixes:
361
+
362
+ * Namespaced fixtures now generate a `/` separated path rather than an `_`.
363
+ (@nxlith, #2077)
364
+ * Check the arity of `errors` before attempting to use it to generate the `be_valid`
365
+ error message. (Kevin Kuchta, #2096)
3
366
 
4
367
  ### 3.8.2 / 2019-01-13
5
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
368
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
6
369
 
7
370
  Bug Fixes:
8
371
 
@@ -16,7 +379,7 @@ Bug Fixes:
16
379
  (Emric Istanful, #2069)
17
380
 
18
381
  ### 3.8.1 / 2018-10-23
19
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
382
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
20
383
 
21
384
  Bug Fixes:
22
385
 
@@ -28,7 +391,7 @@ Bug Fixes:
28
391
  matchers de-serialize arguments. (@aymeric-ledorze, #2036)
29
392
 
30
393
  ### 3.8.0 / 2018-08-04
31
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
394
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
32
395
 
33
396
  Enhancements:
34
397
 
@@ -53,8 +416,9 @@ Bug Fixes:
53
416
  (Laurent Cobos, #1943)
54
417
  * Allow custom template resolvers in view specs. (@ahorek, #1941)
55
418
 
419
+
56
420
  ### 3.7.2 / 2017-11-20
57
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
421
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
58
422
 
59
423
  Bug Fixes:
60
424
 
@@ -63,14 +427,14 @@ Bug Fixes:
63
427
  (Matt Brictson, #1907)
64
428
 
65
429
  ### 3.7.1 / 2017-10-18
66
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
430
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
67
431
 
68
432
  Bug Fixes:
69
433
 
70
434
  * Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
71
435
 
72
436
  ### 3.7.0 / 2017-10-17
73
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
437
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
74
438
 
75
439
  Bug Fixes:
76
440
 
@@ -86,7 +450,7 @@ Enhancements:
86
450
  * Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
87
451
 
88
452
  ### 3.6.0 / 2017-05-04
89
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
453
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
90
454
 
91
455
  Enhancements:
92
456
 
@@ -98,7 +462,7 @@ Bug Fixes:
98
462
  on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
99
463
 
100
464
  ### 3.6.0.beta2 / 2016-12-12
101
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
465
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
102
466
 
103
467
  Enhancements:
104
468
 
@@ -108,7 +472,7 @@ Enhancements:
108
472
  (Kevin Glowacz, #1795)
109
473
 
110
474
  ### 3.6.0.beta1 / 2016-10-09
111
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
475
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
112
476
 
113
477
  Enhancements:
114
478
 
@@ -118,7 +482,7 @@ Enhancements:
118
482
  * Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
119
483
 
120
484
  ### 3.5.2 / 2016-08-26
121
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
485
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
122
486
 
123
487
  Bug Fixes:
124
488
 
@@ -128,7 +492,7 @@ Bug Fixes:
128
492
  (Wojciech Wnętrzak, #1684)
129
493
 
130
494
  ### 3.5.1 / 2016-07-08
131
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
495
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
132
496
 
133
497
  Bug Fixes:
134
498
 
@@ -137,12 +501,12 @@ Bug Fixes:
137
501
  is defined. (#1660, Betesh).
138
502
 
139
503
  ### 3.5.0 / 2016-07-01
140
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
504
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
141
505
 
142
506
  **No user facing changes since beta4**
143
507
 
144
508
  ### 3.5.0.beta4 / 2016-06-05
145
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
509
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
146
510
 
147
511
  Enhancements:
148
512
 
@@ -155,12 +519,12 @@ Enhancements:
155
519
 
156
520
  Bug fixes:
157
521
 
158
- * Prevent asset helpers from taking precendence over route helpers. (Prem Sichanugrist, #1496)
522
+ * Prevent asset helpers from taking precedence over route helpers. (Prem Sichanugrist, #1496)
159
523
  * Prevent `NoMethodError` during failed `have_rendered` assertions on weird templates.
160
524
  (Jon Rowe, #1623).
161
525
 
162
526
  ### 3.5.0.beta3 / 2016-04-02
163
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
527
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
164
528
 
165
529
  Enhancements:
166
530
 
@@ -172,7 +536,7 @@ Bug fixes:
172
536
  (Jon Rowe, Benjamin Quorning, #1580)
173
537
 
174
538
  ### 3.5.0.beta2 / 2016-03-10
175
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
539
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
176
540
 
177
541
  Enhancements:
178
542
 
@@ -186,7 +550,7 @@ Bug fixes:
186
550
  (Alwahsh, #1550)
187
551
 
188
552
  ### 3.5.0.beta1 / 2016-02-06
189
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
553
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
190
554
 
191
555
  Enhancements:
192
556
 
@@ -207,7 +571,7 @@ Bug fixes:
207
571
  adapter. (Wojciech Wnętrzak, #1489)
208
572
 
209
573
  ### 3.4.2 / 2016-02-02
210
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
574
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
211
575
 
212
576
  Bug Fixes:
213
577
 
@@ -215,7 +579,7 @@ Bug Fixes:
215
579
  regression from #1535. (Andrew White, #1544)
216
580
 
217
581
  ### 3.4.1 / 2016-01-25
218
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
582
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
219
583
 
220
584
  Bug Fixes:
221
585
 
@@ -223,7 +587,7 @@ Bug Fixes:
223
587
  parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
224
588
 
225
589
  ### 3.4.0 / 2015-11-11
226
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
590
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
227
591
 
228
592
  Enhancements:
229
593
 
@@ -244,7 +608,7 @@ Bug Fixes:
244
608
  exclusion pattern for its own `lib` code. (Jam Black, #1439)
245
609
 
246
610
  ### 3.3.3 / 2015-07-15
247
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
611
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
248
612
 
249
613
  Bug Fixes:
250
614
 
@@ -252,7 +616,7 @@ Bug Fixes:
252
616
  including symbols. (Dan Kohn, #1414)
253
617
 
254
618
  ### 3.3.2 / 2015-06-18
255
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
619
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
256
620
 
257
621
  Bug Fixes:
258
622
 
@@ -262,7 +626,7 @@ Bug Fixes:
262
626
  abstract AR class. (Jon Rowe, #1396)
263
627
 
264
628
  ### 3.3.1 / 2015-06-14
265
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
629
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
266
630
 
267
631
  Bug Fixes:
268
632
 
@@ -270,25 +634,25 @@ Bug Fixes:
270
634
  trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
271
635
 
272
636
  ### 3.3.0 / 2015-06-12
273
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
637
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
274
638
 
275
639
  Enhancements:
276
640
 
277
641
  * Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336)
278
642
  * Improve controller and routing spec calls to `routes` by using `yield`
279
643
  instead of `call`. (Anton Davydov, #1308)
280
- * Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
281
- via both `:type => :job` and inferring type from spec directory `spec/jobs`.
644
+ * Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGroup`s
645
+ via both `type: :job` and inferring type from spec directory `spec/jobs`.
282
646
  (Gabe Martin-Dempesy, #1361)
283
647
  * Include `RSpec::Rails::FixtureSupport` into example groups using metadata
284
- `:use_fixtures => true`. (Aaron Kromer, #1372)
648
+ `use_fixtures: true`. (Aaron Kromer, #1372)
285
649
  * Include `rspec:request` generator for generating request specs; this is an
286
650
  alias of `rspec:integration` (Aaron Kromer, #1378)
287
651
  * Update `rails_helper` generator with a default check to abort the spec run
288
652
  when the Rails environment is production. (Aaron Kromer, #1383)
289
653
 
290
654
  ### 3.2.3 / 2015-06-06
291
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
655
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
292
656
 
293
657
  Bug Fixes:
294
658
 
@@ -296,7 +660,7 @@ Bug Fixes:
296
660
  on Rails 3.x and 4.0 (Aaron Kromer, #1388)
297
661
 
298
662
  ### 3.2.2 / 2015-06-03
299
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
663
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
300
664
 
301
665
  Bug Fixes:
302
666
 
@@ -309,7 +673,7 @@ Bug Fixes:
309
673
  when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
310
674
 
311
675
  ### 3.2.1 / 2015-02-23
312
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
676
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
313
677
 
314
678
  Bug Fixes:
315
679
 
@@ -321,7 +685,7 @@ Bug Fixes:
321
685
  Ruby < 2.2 (Aaron Kromer, #1320)
322
686
 
323
687
  ### 3.2.0 / 2015-02-03
324
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
688
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
325
689
 
326
690
  Enhancements:
327
691
 
@@ -346,7 +710,7 @@ Bug Fixes:
346
710
  in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
347
711
 
348
712
  ### 3.1.0 / 2014-09-04
349
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
713
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
350
714
 
351
715
  Enhancements:
352
716
 
@@ -365,7 +729,7 @@ Bug Fixes:
365
729
  * Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
366
730
 
367
731
  ### 3.0.2 / 2014-07-21
368
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
732
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
369
733
 
370
734
  Bug Fixes:
371
735
 
@@ -374,14 +738,14 @@ Bug Fixes:
374
738
  * Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
375
739
 
376
740
  ### 3.0.1 / 2014-06-02
377
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
741
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
378
742
 
379
743
  Bug Fixes:
380
744
 
381
745
  * Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
382
746
 
383
747
  ### 3.0.0 / 2014-06-01
384
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
748
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
385
749
 
386
750
  Enhancements:
387
751
 
@@ -394,7 +758,7 @@ Bug Fixes:
394
758
  * Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
395
759
 
396
760
  ### 3.0.0.rc1 / 2014-05-18
397
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
761
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
398
762
 
399
763
  Breaking Changes for 3.0.0:
400
764
 
@@ -422,7 +786,7 @@ Enhancements:
422
786
  Bug Fixes:
423
787
 
424
788
  * Fix an inconsistency in the generated scaffold specs for a controller. (Andy Waite)
425
- * Ensure `config.before(:all, :type => <type>)` hooks run before groups
789
+ * Ensure `config.before(:all, type: <type>)` hooks run before groups
426
790
  of the given type, even when the type is inferred by the file
427
791
  location. (Jon Rowe, Myron Marston)
428
792
  * Switch to parsing params with `Rack::Utils::parse_nested_query` to match Rails.
@@ -430,7 +794,7 @@ Bug Fixes:
430
794
  * Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
431
795
 
432
796
  ### 3.0.0.beta2 / 2014-02-17
433
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
797
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
434
798
 
435
799
  Breaking Changes for 3.0.0:
436
800
 
@@ -458,7 +822,7 @@ Bug Fixes:
458
822
  * Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
459
823
 
460
824
  ### 3.0.0.beta1 / 2013-11-07
461
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
825
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
462
826
 
463
827
  Breaking Changes for 3.0.0:
464
828
 
@@ -466,12 +830,12 @@ Breaking Changes for 3.0.0:
466
830
  (Andy Lindeman)
467
831
 
468
832
  ### 2.99.0 / 2014-06-01
469
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
833
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
470
834
 
471
835
  No changes. Just taking it out of pre-release.
472
836
 
473
837
  ### 2.99.0.rc1 / 2014-05-18
474
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
838
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
475
839
 
476
840
  Deprecations
477
841
 
@@ -488,7 +852,7 @@ Deprecations
488
852
  class passed to `describe`. (Myron Marston)
489
853
 
490
854
  ### 2.99.0.beta2 / 2014-02-17
491
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
855
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
492
856
 
493
857
  Deprecations:
494
858
 
@@ -506,7 +870,7 @@ Bug Fixes:
506
870
  is not present. (Jon Rowe)
507
871
 
508
872
  ### 2.99.0.beta1 / 2013-11-07
509
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
873
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
510
874
 
511
875
  Deprecations:
512
876
 
@@ -528,7 +892,7 @@ Bug Fixes:
528
892
  in all of `rails` to use `rspec-rails`. (John Firebaugh)
529
893
 
530
894
  ### 2.14.1 / 2013-12-29
531
- [full changelog](http://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
895
+ [full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
532
896
 
533
897
  Bug Fixes:
534
898
 
@@ -543,7 +907,7 @@ Bug Fixes:
543
907
  * Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
544
908
 
545
909
  ### 2.14.0 / 2013-07-06
546
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
910
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
547
911
 
548
912
  Bug fixes
549
913
 
@@ -555,7 +919,7 @@ Bug fixes
555
919
  Rails 4. (Andy Lindeman)
556
920
 
557
921
  ### 2.14.0.rc1 / 2013-05-27
558
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
922
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
559
923
 
560
924
  Enhancements
561
925
 
@@ -568,7 +932,7 @@ Bug fixes
568
932
  spec/ directory. (Benjamin Fleischer)
569
933
 
570
934
  ### 2.13.2 / 2013-05-18
571
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
935
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
572
936
 
573
937
  Bug fixes
574
938
 
@@ -583,7 +947,7 @@ Enhancements
583
947
  * Document how the spec/support directory works. (Sam Phippen)
584
948
 
585
949
  ### 2.13.1 / 2013-04-27
586
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
950
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
587
951
 
588
952
  Bug fixes
589
953
 
@@ -597,7 +961,7 @@ Bug fixes
597
961
  * Fix spacing in the install generator template (Taiki ONO)
598
962
 
599
963
  ### 2.13.0 / 2013-02-23
600
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
964
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
601
965
 
602
966
  Enhancements
603
967
 
@@ -612,7 +976,7 @@ Enhancements
612
976
  (Rudolf Schmidt)
613
977
 
614
978
  ### 2.12.2 / 2013-01-12
615
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
979
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
616
980
 
617
981
  Bug fixes
618
982
 
@@ -624,7 +988,7 @@ Bug fixes
624
988
  Lindeman)
625
989
 
626
990
  ### 2.12.1 / 2013-01-07
627
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
991
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
628
992
 
629
993
  Bug fixes
630
994
 
@@ -639,7 +1003,7 @@ Bug fixes
639
1003
  and generation of URLs from other contexts. (Andy Lindeman)
640
1004
 
641
1005
  ### 2.12.0 / 2012-11-12
642
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
1006
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
643
1007
 
644
1008
  Enhancements
645
1009
 
@@ -660,7 +1024,7 @@ Bug fixes
660
1024
  * Failures message for `be_new_record` are more useful (Andy Lindeman)
661
1025
 
662
1026
  ### 2.11.4 / 2012-10-14
663
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
1027
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
664
1028
 
665
1029
  Capybara-2.0 integration support:
666
1030
 
@@ -668,13 +1032,13 @@ Capybara-2.0 integration support:
668
1032
  * include Capybara::DSL and Capybara::RSpecMatchers in spec/features
669
1033
 
670
1034
  See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
671
- and [http://rubydoc.info/gems/rspec-rails/file/Capybara.md](http://rubydoc.info/gems/rspec-rails/file/Capybara.md)
1035
+ and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
672
1036
  for background.
673
1037
 
674
1038
  2.11.1, .2, .3 were yanked due to errant documentation.
675
1039
 
676
1040
  ### 2.11.0 / 2012-07-07
677
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
1041
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
678
1042
 
679
1043
  Enhancements
680
1044
 
@@ -693,7 +1057,7 @@ Bug fixes
693
1057
  loads (Andy Lindeman)
694
1058
 
695
1059
  ### 2.10.1 / 2012-05-03
696
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
1060
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
697
1061
 
698
1062
  Bug fixes
699
1063
 
@@ -703,7 +1067,7 @@ Bug fixes
703
1067
  Rails already does this (Jack Dempsey)
704
1068
 
705
1069
  ### 2.10.0 / 2012-05-03
706
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
1070
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
707
1071
 
708
1072
  Bug fixes
709
1073
 
@@ -718,7 +1082,7 @@ Bug fixes
718
1082
  Strother)
719
1083
 
720
1084
  ### 2.9.0 / 2012-03-17
721
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
1085
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
722
1086
 
723
1087
  Enhancements
724
1088
 
@@ -733,7 +1097,7 @@ Bug fixes
733
1097
 
734
1098
  ### 2.8.1 / 2012-01-04
735
1099
 
736
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
1100
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
737
1101
 
738
1102
  NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
739
1103
  stub_model in rspec-rails. This release fixes that issue, but it means that
@@ -746,7 +1110,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
746
1110
 
747
1111
  ### 2.8.0 / 2012-01-04
748
1112
 
749
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
1113
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
750
1114
 
751
1115
  * Enhancements
752
1116
  * Eliminate deprecation warnings in generated view specs in Rails 3.2
@@ -756,7 +1120,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
756
1120
 
757
1121
  ### 2.8.0.rc2 / 2011-12-19
758
1122
 
759
- [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
1123
+ [Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
760
1124
 
761
1125
  * Enhancements
762
1126
  * Add session hash to generated controller specs (Thiago Almeida)
@@ -768,7 +1132,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
768
1132
 
769
1133
  ### 2.8.0.rc1 / 2011-11-06
770
1134
 
771
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
1135
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
772
1136
 
773
1137
  * Enhancements
774
1138
  * Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
@@ -784,7 +1148,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
784
1148
 
785
1149
  ### 2.7.0 / 2011-10-16
786
1150
 
787
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
1151
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
788
1152
 
789
1153
  * Enhancements
790
1154
  * `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
@@ -809,7 +1173,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
809
1173
 
810
1174
  ### 2.6.1 / 2011-05-25
811
1175
 
812
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
1176
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
813
1177
 
814
1178
  This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
815
1179
 
@@ -820,7 +1184,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
820
1184
 
821
1185
  ### 2.6.0 / 2011-05-12
822
1186
 
823
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
1187
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
824
1188
 
825
1189
  * Enhancements
826
1190
  * rails 3 shortcuts for routing specs (Joe Fiorini)
@@ -844,7 +1208,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
844
1208
 
845
1209
  ### 2.5.0 / 2011-02-05
846
1210
 
847
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
1211
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
848
1212
 
849
1213
  * Enhancements
850
1214
  * use index_helper instead of table_name when generating specs (Reza
@@ -859,7 +1223,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
859
1223
 
860
1224
  ### 2.4.1 / 2011-01-03
861
1225
 
862
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
1226
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
863
1227
 
864
1228
  * Bug fixes
865
1229
  * fixed bug caused by including some Rails modules before RSpec's
@@ -867,12 +1231,12 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
867
1231
 
868
1232
  ### 2.4.0 / 2011-01-02
869
1233
 
870
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
1234
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
871
1235
 
872
1236
  * Enhancements
873
1237
  * include ApplicationHelper in helper object in helper specs
874
1238
  * include request spec extensions in files in spec/integration
875
- * include controller spec extensions in groups that use :type => :controller
1239
+ * include controller spec extensions in groups that use type: :controller
876
1240
  * same for :model, :view, :helper, :mailer, :request, :routing
877
1241
 
878
1242
  * Bug fixes
@@ -887,7 +1251,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
887
1251
 
888
1252
  ### 2.3.1 / 2010-12-16
889
1253
 
890
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
1254
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
891
1255
 
892
1256
  * Bug fixes
893
1257
  * respond_to? correctly handles 2 args
@@ -895,7 +1259,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
895
1259
 
896
1260
  ### 2.3.0 / 2010-12-12
897
1261
 
898
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
1262
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
899
1263
 
900
1264
  * Changes
901
1265
  * Generator no longer generates autotest/autodiscover.rb, as it is no longer
@@ -903,7 +1267,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
903
1267
 
904
1268
  ### 2.2.1 / 2010-12-01
905
1269
 
906
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
1270
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
907
1271
 
908
1272
  * Bug fixes
909
1273
  * Depend on railties, activesupport, and actionpack instead of rails (Piotr
@@ -915,7 +1279,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
915
1279
 
916
1280
  ### 2.2.0 / 2010-11-28
917
1281
 
918
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
1282
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
919
1283
 
920
1284
  * Enhancements
921
1285
  * Added stub_template in view specs
@@ -930,7 +1294,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
930
1294
 
931
1295
  ### 2.1.0 / 2010-11-07
932
1296
 
933
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
1297
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
934
1298
 
935
1299
  * Enhancements
936
1300
  * Move errors_on to ActiveModel to support other AM-compliant ORMs
@@ -941,7 +1305,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
941
1305
 
942
1306
  ### 2.0.1 / 2010-10-15
943
1307
 
944
- [Full Changelog](http://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
1308
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
945
1309
 
946
1310
  * Enhancements
947
1311
  * Add option to not generate request spec (--skip-request-specs)