rspec-rails 3.8.2 → 6.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Capybara.md +5 -54
- data/Changelog.md +339 -75
- data/README.md +278 -500
- data/lib/generators/rspec/channel/channel_generator.rb +12 -0
- data/lib/generators/rspec/{observer/templates/observer_spec.rb → channel/templates/channel_spec.rb.erb} +1 -1
- data/lib/generators/rspec/controller/controller_generator.rb +24 -7
- data/lib/generators/rspec/controller/templates/request_spec.rb +19 -0
- data/lib/generators/rspec/controller/templates/routing_spec.rb +13 -0
- data/lib/generators/rspec/feature/feature_generator.rb +3 -3
- data/lib/generators/rspec/generator/generator_generator.rb +24 -0
- data/lib/generators/rspec/generator/templates/generator_spec.rb +6 -0
- data/lib/generators/rspec/helper/helper_generator.rb +2 -2
- data/lib/generators/rspec/install/install_generator.rb +23 -6
- data/lib/generators/rspec/install/templates/spec/rails_helper.rb +20 -16
- data/lib/generators/rspec/integration/integration_generator.rb +13 -6
- data/lib/generators/rspec/job/job_generator.rb +2 -1
- data/lib/generators/rspec/job/templates/job_spec.rb.erb +1 -1
- data/lib/generators/rspec/mailbox/mailbox_generator.rb +14 -0
- data/lib/generators/rspec/mailbox/templates/mailbox_spec.rb.erb +7 -0
- data/lib/generators/rspec/mailer/mailer_generator.rb +5 -4
- data/lib/generators/rspec/mailer/templates/mailer_spec.rb +2 -2
- data/lib/generators/rspec/mailer/templates/preview.rb +1 -1
- data/lib/generators/rspec/model/model_generator.rb +8 -7
- data/lib/generators/rspec/model/templates/fixtures.yml +1 -1
- data/lib/generators/rspec/request/request_generator.rb +10 -3
- data/lib/generators/rspec/scaffold/scaffold_generator.rb +36 -22
- data/lib/generators/rspec/scaffold/templates/api_controller_spec.rb +13 -49
- data/lib/generators/rspec/scaffold/templates/api_request_spec.rb +131 -0
- data/lib/generators/rspec/scaffold/templates/controller_spec.rb +25 -58
- data/lib/generators/rspec/scaffold/templates/edit_spec.rb +9 -9
- data/lib/generators/rspec/scaffold/templates/index_spec.rb +3 -2
- data/lib/generators/rspec/scaffold/templates/new_spec.rb +1 -5
- data/lib/generators/rspec/scaffold/templates/request_spec.rb +153 -0
- data/lib/generators/rspec/scaffold/templates/routing_spec.rb +8 -10
- data/lib/generators/rspec/scaffold/templates/show_spec.rb +2 -2
- data/lib/generators/rspec/system/system_generator.rb +24 -0
- data/lib/generators/rspec/system/templates/system_spec.rb +9 -0
- data/lib/generators/rspec/view/view_generator.rb +4 -4
- data/lib/generators/rspec.rb +16 -5
- data/lib/rspec/rails/adapters.rb +22 -76
- data/lib/rspec/rails/configuration.rb +82 -37
- data/lib/rspec/rails/example/channel_example_group.rb +93 -0
- data/lib/rspec/rails/example/controller_example_group.rb +5 -4
- data/lib/rspec/rails/example/feature_example_group.rb +6 -26
- data/lib/rspec/rails/example/helper_example_group.rb +2 -9
- data/lib/rspec/rails/example/mailbox_example_group.rb +80 -0
- data/lib/rspec/rails/example/mailer_example_group.rb +2 -2
- data/lib/rspec/rails/example/rails_example_group.rb +2 -1
- data/lib/rspec/rails/example/request_example_group.rb +1 -4
- data/lib/rspec/rails/example/system_example_group.rb +34 -16
- data/lib/rspec/rails/example/view_example_group.rb +38 -27
- data/lib/rspec/rails/example.rb +2 -0
- data/lib/rspec/rails/extensions/active_record/proxy.rb +5 -10
- data/lib/rspec/rails/feature_check.rb +16 -29
- data/lib/rspec/rails/file_fixture_support.rb +11 -10
- data/lib/rspec/rails/fixture_file_upload_support.rb +14 -15
- data/lib/rspec/rails/fixture_support.rb +40 -32
- data/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb +173 -0
- data/lib/rspec/rails/matchers/action_cable/have_streams.rb +58 -0
- data/lib/rspec/rails/matchers/action_cable.rb +65 -0
- data/lib/rspec/rails/matchers/action_mailbox.rb +73 -0
- data/lib/rspec/rails/matchers/active_job.rb +173 -25
- data/lib/rspec/rails/matchers/base_matcher.rb +179 -0
- data/lib/rspec/rails/matchers/be_a_new.rb +1 -1
- data/lib/rspec/rails/matchers/be_new_record.rb +1 -1
- data/lib/rspec/rails/matchers/be_valid.rb +1 -1
- data/lib/rspec/rails/matchers/have_enqueued_mail.rb +227 -0
- data/lib/rspec/rails/matchers/have_http_status.rb +21 -26
- data/lib/rspec/rails/matchers/have_rendered.rb +2 -1
- data/lib/rspec/rails/matchers/redirect_to.rb +1 -1
- data/lib/rspec/rails/matchers/relation_match_array.rb +1 -1
- data/lib/rspec/rails/matchers/routing_matchers.rb +13 -13
- data/lib/rspec/rails/matchers.rb +11 -0
- data/lib/rspec/rails/tasks/rspec.rake +7 -17
- data/lib/rspec/rails/vendor/capybara.rb +10 -17
- data/lib/rspec/rails/version.rb +1 -1
- data/lib/rspec/rails/view_assigns.rb +0 -18
- data/lib/rspec/rails/view_path_builder.rb +1 -1
- data/lib/rspec/rails/view_rendering.rb +20 -7
- data/lib/rspec-rails.rb +10 -17
- data.tar.gz.sig +0 -0
- metadata +51 -33
- metadata.gz.sig +0 -0
- data/lib/generators/rspec/observer/observer_generator.rb +0 -13
- /data/lib/generators/rspec/{integration → request}/templates/request_spec.rb +0 -0
data/Changelog.md
CHANGED
@@ -1,8 +1,271 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.3...6-0-maintenance)
|
3
|
+
|
4
|
+
### 6.0.3 / 2023-05-31
|
5
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.2...v6.0.3)
|
6
|
+
|
7
|
+
Bug Fixes:
|
8
|
+
|
9
|
+
* Set `ActiveStorage::FixtureSet.file_fixture_path` when including file fixture support.
|
10
|
+
(Jason Yates, #2671)
|
11
|
+
* Allow `broadcast_to` matcher to take Symbols. (@Vagab, #2680)
|
12
|
+
|
13
|
+
### 6.0.2 / 2023-05-04
|
14
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.1...v6.0.2)
|
15
|
+
|
16
|
+
Bug Fixes:
|
17
|
+
|
18
|
+
* Fix ActionView::PathSet when `render_views` is off for Rails 7.1.
|
19
|
+
(Eugene Kenny, Iliana, #2631)
|
20
|
+
* Support Rails 7.1's `#fixtures_paths` in example groups (removes a deprecation warning).
|
21
|
+
(Nicholas Simmons, #2664)
|
22
|
+
* Fix `have_enqueued_job` to properly detect enqueued jobs when other jobs were
|
23
|
+
performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #2573)
|
24
|
+
|
25
|
+
### 6.0.1 / 2022-10-18
|
26
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...v6.0.1)
|
27
|
+
|
28
|
+
Bug Fixes:
|
29
|
+
|
30
|
+
* Prevent tagged logged support in Rails 7 calling `#name`. (Jon Rowe, #2625)
|
31
|
+
|
32
|
+
### 6.0.0 / 2022-10-10
|
33
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.2...v6.0.0)
|
34
|
+
|
35
|
+
Enhancements:
|
36
|
+
|
37
|
+
* Support Rails 7
|
38
|
+
* Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, #2599)
|
39
|
+
* Generators now respects default path configuration option. (@vivekmiyani, #2508)
|
40
|
+
|
41
|
+
Breaking Changes:
|
42
|
+
|
43
|
+
* Drop support for Rails below 6.1
|
44
|
+
* Drop support for Ruby below 2.5 (following supported versions of Rails 6.1)
|
45
|
+
* Change the order of `after_teardown` from `after` to `around` in system
|
46
|
+
specs to improve compatibility with extensions and Capybara. (Tim Diggins, #2596)
|
47
|
+
|
48
|
+
Deprecations:
|
49
|
+
|
50
|
+
* Deprecates integration spec generator (`rspec:integration`)
|
51
|
+
which was an alias of request spec generator (`rspec:request`)
|
52
|
+
(Luka Lüdicke, #2374)
|
53
|
+
|
54
|
+
### 5.1.2 / 2022-04-24
|
55
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.1...v5.1.2)
|
56
|
+
|
57
|
+
Bug Fixes:
|
58
|
+
|
59
|
+
* Fix controller scaffold templates parameter name. (Taketo Takashima, #2591)
|
60
|
+
* Include generator specs in the inferred list of specs. (Jason Karns, #2597)
|
61
|
+
|
62
|
+
### 5.1.1 / 2022-03-07
|
63
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.0...v5.1.1)
|
64
|
+
|
65
|
+
Bug Fixes:
|
66
|
+
|
67
|
+
* Properly handle global id serialised arguments in `have_enqueued_mail`.
|
68
|
+
(Jon Rowe, #2578)
|
69
|
+
|
70
|
+
### 5.1.0 / 2022-01-26
|
71
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.3...v5.1.0)
|
72
|
+
|
73
|
+
Enhancements:
|
74
|
+
|
75
|
+
* Make the API request scaffold template more consistent and compatible with
|
76
|
+
Rails 6.1. (Naoto Hamada, #2484)
|
77
|
+
* Change the scaffold `rails_helper.rb` template to use `require_relative`.
|
78
|
+
(Jon Dufresne, #2528)
|
79
|
+
|
80
|
+
### 5.0.3 / 2022-01-26
|
81
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.2...v5.0.3)
|
82
|
+
|
83
|
+
Bug Fixes:
|
84
|
+
|
85
|
+
* Properly name params in controller and request spec templates when
|
86
|
+
using the `--model-name` parameter. (@kenzo-tanaka, #2534)
|
87
|
+
* Fix parameter matching with mail delivery job and
|
88
|
+
ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546)
|
89
|
+
* Fix Rails 7 `have_enqueued_mail` compatibility (Mikael Henriksson, #2537, #2546)
|
90
|
+
|
91
|
+
### 5.0.2 / 2021-08-14
|
92
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.1...v5.0.2)
|
93
|
+
|
94
|
+
Bug Fixes:
|
95
|
+
|
96
|
+
* Prevent generated job specs from duplicating `_job` in filenames.
|
97
|
+
(Nick Flückiger, #2496)
|
98
|
+
* Fix `ActiveRecord::TestFixture#uses_transaction` by using example description
|
99
|
+
to replace example name rather than example in our monkey patched
|
100
|
+
`run_in_transaction?` method. (Stan Lo, #2495)
|
101
|
+
* Prevent keyword arguments being lost when methods are invoked dynamically
|
102
|
+
in controller specs. (Josh Cheek, #2509, #2514)
|
103
|
+
|
104
|
+
### 5.0.1 / 2021-03-18
|
105
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)
|
106
|
+
|
107
|
+
Bug Fixes:
|
108
|
+
|
109
|
+
* Limit multibyte example descriptions when used in system tests for #method_name
|
110
|
+
which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
|
111
|
+
|
112
|
+
### 5.0.0 / 2021-03-09
|
113
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...v5.0.0)
|
114
|
+
|
115
|
+
Enhancements:
|
116
|
+
|
117
|
+
* Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398)
|
118
|
+
* Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398)
|
119
|
+
|
120
|
+
Breaking Changes:
|
121
|
+
|
122
|
+
* Drop support for Rails below 5.2.
|
123
|
+
|
124
|
+
### 4.1.1 / 2021-03-09
|
125
|
+
|
126
|
+
Bug Fixes:
|
127
|
+
|
128
|
+
* Remove generated specs when destroying a generated controller.
|
129
|
+
(@Naokimi, #2475)
|
130
|
+
|
131
|
+
### 4.1.0 / 2021-03-06
|
132
|
+
|
133
|
+
Enhancements:
|
134
|
+
|
135
|
+
* Issue a warning when using job matchers with `#at` mismatch on `usec` precision.
|
136
|
+
(Jon Rowe, #2350)
|
137
|
+
* Generated request specs now have a bare `_spec` suffix instead of `request_spec`.
|
138
|
+
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
|
139
|
+
* Generated scaffold now includes engine route helpers when inside a mountable engine.
|
140
|
+
(Andrew W. Lee, #2372)
|
141
|
+
* Improve request spec "controller" scafold when no action is specified.
|
142
|
+
(Thomas Hareau, #2399)
|
143
|
+
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
|
144
|
+
* Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
|
145
|
+
Rails. (Benoit Tigeot, #2461)
|
146
|
+
|
147
|
+
### 4.0.2 / 2020-12-26
|
148
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...v4.0.2)
|
149
|
+
|
150
|
+
Bug Fixes:
|
151
|
+
|
152
|
+
* Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
|
153
|
+
* Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344)
|
154
|
+
* Return `true`/`false` from predicate methods in config rather than raw values.
|
155
|
+
(Phil Pirozhkov, Jon Rowe, #2353, #2354)
|
156
|
+
* Remove old #fixture_path feature detection code which broke under newer Rails.
|
157
|
+
(Koen Punt, Jon Rowe, #2370)
|
158
|
+
* Fix an error when `use_active_record` is `false` (Phil Pirozhkov, #2423)
|
159
|
+
|
160
|
+
### 4.0.1 / 2020-05-16
|
161
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0...v4.0.1)
|
162
|
+
|
163
|
+
Bug Fixes:
|
164
|
+
|
165
|
+
* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302)
|
166
|
+
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
|
167
|
+
* Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob`
|
168
|
+
is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
|
169
|
+
* Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
|
170
|
+
* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)
|
171
|
+
|
172
|
+
### 4.0.0 / 2020-03-24
|
173
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
|
174
|
+
|
175
|
+
Enhancements:
|
176
|
+
|
177
|
+
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
|
178
|
+
* Adds support for JRuby on Rails 5.2 and 6
|
179
|
+
* Add support for parameterised mailers (Ignatius Reza, #2125)
|
180
|
+
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
|
181
|
+
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
|
182
|
+
* Add support for partial args when using `have_enqueued_mail`
|
183
|
+
(Ignatius Reza, #2118, #2125)
|
184
|
+
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
|
185
|
+
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
|
186
|
+
* Add routing spec template as an option for generating controller specs.
|
187
|
+
(David Revelo, #2134)
|
188
|
+
* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
|
189
|
+
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
|
190
|
+
* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
|
191
|
+
matchers (Isaac Seymour, #1785)
|
192
|
+
* Default to generating request specs rather than controller specs when
|
193
|
+
generating a controller (Luka Lüdicke, #2222)
|
194
|
+
* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283)
|
195
|
+
* The scaffold generator now generates request specs in preference to controller specs.
|
196
|
+
(Luka Lüdicke, #2288)
|
197
|
+
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
|
198
|
+
* Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs.
|
199
|
+
(ta1kt0me, Benoit Tigeot, #2289)
|
200
|
+
|
201
|
+
Bug Fixes:
|
202
|
+
|
203
|
+
* `EmptyTemplateHandler.call` now needs to support an additional argument in
|
204
|
+
Rails 6. (Pavel Rosický, #2089)
|
205
|
+
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
|
206
|
+
deprecated. (Pavel Rosický, #2092)
|
207
|
+
* `ActionView::Template#formats` has been deprecated and replaced by
|
208
|
+
`ActionView::Template#format`(Seb Jacobs, #2100)
|
209
|
+
* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
|
210
|
+
are generated correctly. (Jon Rowe, #2164)
|
211
|
+
* `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
|
212
|
+
(Penelope Phippen, #2076)
|
213
|
+
* Prevent `driven_by(:selenium)` being called due to hook precedence.
|
214
|
+
(Takumi Shotoku, #2188)
|
215
|
+
* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
|
216
|
+
6.1 development version. (Edouard Chin, #2215)
|
217
|
+
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
|
218
|
+
* Restore previous conditional check for setting `default_url_options` in feature
|
219
|
+
specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
|
220
|
+
* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
|
221
|
+
(Jonathan Rochkind, #2242)
|
222
|
+
* `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
|
223
|
+
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)
|
224
|
+
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
|
225
|
+
|
226
|
+
Breaking Changes:
|
227
|
+
|
228
|
+
* Drops support for Rails below 5.0
|
229
|
+
* Drops support for Ruby below 2.3
|
230
|
+
|
231
|
+
### 3.9.1 / 2020-03-10
|
232
|
+
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1)
|
233
|
+
|
234
|
+
Bug Fixes:
|
235
|
+
|
236
|
+
* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
|
237
|
+
|
238
|
+
### 3.9.0 / 2019-10-08
|
239
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
240
|
+
|
241
|
+
Enhancements
|
242
|
+
|
243
|
+
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
244
|
+
supported. (OKURA Masafumi, #2048)
|
245
|
+
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
246
|
+
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
247
|
+
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
248
|
+
* Add generator for generator specs. (@ConSou, #2085)
|
249
|
+
* Add option to generate routes when generating controller specs. (David Revelo, #2134)
|
250
|
+
|
251
|
+
Bug Fixes:
|
252
|
+
|
253
|
+
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
254
|
+
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
255
|
+
(Emric Istanful, #2069)
|
256
|
+
|
257
|
+
### 3.8.3 / 2019-10-03
|
258
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
259
|
+
|
260
|
+
Bug Fixes:
|
261
|
+
|
262
|
+
* Namespaced fixtures now generate a `/` separated path rather than an `_`.
|
263
|
+
(@nxlith, #2077)
|
264
|
+
* Check the arity of `errors` before attempting to use it to generate the `be_valid`
|
265
|
+
error message. (Kevin Kuchta, #2096)
|
3
266
|
|
4
267
|
### 3.8.2 / 2019-01-13
|
5
|
-
[Full Changelog](
|
268
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
6
269
|
|
7
270
|
Bug Fixes:
|
8
271
|
|
@@ -16,7 +279,7 @@ Bug Fixes:
|
|
16
279
|
(Emric Istanful, #2069)
|
17
280
|
|
18
281
|
### 3.8.1 / 2018-10-23
|
19
|
-
[Full Changelog](
|
282
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
20
283
|
|
21
284
|
Bug Fixes:
|
22
285
|
|
@@ -28,7 +291,7 @@ Bug Fixes:
|
|
28
291
|
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
29
292
|
|
30
293
|
### 3.8.0 / 2018-08-04
|
31
|
-
[Full Changelog](
|
294
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
32
295
|
|
33
296
|
Enhancements:
|
34
297
|
|
@@ -53,8 +316,9 @@ Bug Fixes:
|
|
53
316
|
(Laurent Cobos, #1943)
|
54
317
|
* Allow custom template resolvers in view specs. (@ahorek, #1941)
|
55
318
|
|
319
|
+
|
56
320
|
### 3.7.2 / 2017-11-20
|
57
|
-
[Full Changelog](
|
321
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
|
58
322
|
|
59
323
|
Bug Fixes:
|
60
324
|
|
@@ -63,14 +327,14 @@ Bug Fixes:
|
|
63
327
|
(Matt Brictson, #1907)
|
64
328
|
|
65
329
|
### 3.7.1 / 2017-10-18
|
66
|
-
[Full Changelog](
|
330
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
67
331
|
|
68
332
|
Bug Fixes:
|
69
333
|
|
70
334
|
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
71
335
|
|
72
336
|
### 3.7.0 / 2017-10-17
|
73
|
-
[Full Changelog](
|
337
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
74
338
|
|
75
339
|
Bug Fixes:
|
76
340
|
|
@@ -86,7 +350,7 @@ Enhancements:
|
|
86
350
|
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
87
351
|
|
88
352
|
### 3.6.0 / 2017-05-04
|
89
|
-
[Full Changelog](
|
353
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
90
354
|
|
91
355
|
Enhancements:
|
92
356
|
|
@@ -98,7 +362,7 @@ Bug Fixes:
|
|
98
362
|
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
99
363
|
|
100
364
|
### 3.6.0.beta2 / 2016-12-12
|
101
|
-
[Full Changelog](
|
365
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
102
366
|
|
103
367
|
Enhancements:
|
104
368
|
|
@@ -108,7 +372,7 @@ Enhancements:
|
|
108
372
|
(Kevin Glowacz, #1795)
|
109
373
|
|
110
374
|
### 3.6.0.beta1 / 2016-10-09
|
111
|
-
[Full Changelog](
|
375
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
112
376
|
|
113
377
|
Enhancements:
|
114
378
|
|
@@ -118,7 +382,7 @@ Enhancements:
|
|
118
382
|
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
119
383
|
|
120
384
|
### 3.5.2 / 2016-08-26
|
121
|
-
[Full Changelog](
|
385
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
122
386
|
|
123
387
|
Bug Fixes:
|
124
388
|
|
@@ -128,7 +392,7 @@ Bug Fixes:
|
|
128
392
|
(Wojciech Wnętrzak, #1684)
|
129
393
|
|
130
394
|
### 3.5.1 / 2016-07-08
|
131
|
-
[Full Changelog](
|
395
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
132
396
|
|
133
397
|
Bug Fixes:
|
134
398
|
|
@@ -137,12 +401,12 @@ Bug Fixes:
|
|
137
401
|
is defined. (#1660, Betesh).
|
138
402
|
|
139
403
|
### 3.5.0 / 2016-07-01
|
140
|
-
[Full Changelog](
|
404
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
|
141
405
|
|
142
406
|
**No user facing changes since beta4**
|
143
407
|
|
144
408
|
### 3.5.0.beta4 / 2016-06-05
|
145
|
-
[Full Changelog](
|
409
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
|
146
410
|
|
147
411
|
Enhancements:
|
148
412
|
|
@@ -155,12 +419,12 @@ Enhancements:
|
|
155
419
|
|
156
420
|
Bug fixes:
|
157
421
|
|
158
|
-
* Prevent asset helpers from taking
|
422
|
+
* Prevent asset helpers from taking precedence over route helpers. (Prem Sichanugrist, #1496)
|
159
423
|
* Prevent `NoMethodError` during failed `have_rendered` assertions on weird templates.
|
160
424
|
(Jon Rowe, #1623).
|
161
425
|
|
162
426
|
### 3.5.0.beta3 / 2016-04-02
|
163
|
-
[Full Changelog](
|
427
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
164
428
|
|
165
429
|
Enhancements:
|
166
430
|
|
@@ -172,7 +436,7 @@ Bug fixes:
|
|
172
436
|
(Jon Rowe, Benjamin Quorning, #1580)
|
173
437
|
|
174
438
|
### 3.5.0.beta2 / 2016-03-10
|
175
|
-
[Full Changelog](
|
439
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
176
440
|
|
177
441
|
Enhancements:
|
178
442
|
|
@@ -186,7 +450,7 @@ Bug fixes:
|
|
186
450
|
(Alwahsh, #1550)
|
187
451
|
|
188
452
|
### 3.5.0.beta1 / 2016-02-06
|
189
|
-
[Full Changelog](
|
453
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
190
454
|
|
191
455
|
Enhancements:
|
192
456
|
|
@@ -207,7 +471,7 @@ Bug fixes:
|
|
207
471
|
adapter. (Wojciech Wnętrzak, #1489)
|
208
472
|
|
209
473
|
### 3.4.2 / 2016-02-02
|
210
|
-
[Full Changelog](
|
474
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
211
475
|
|
212
476
|
Bug Fixes:
|
213
477
|
|
@@ -215,7 +479,7 @@ Bug Fixes:
|
|
215
479
|
regression from #1535. (Andrew White, #1544)
|
216
480
|
|
217
481
|
### 3.4.1 / 2016-01-25
|
218
|
-
[Full Changelog](
|
482
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
219
483
|
|
220
484
|
Bug Fixes:
|
221
485
|
|
@@ -223,7 +487,7 @@ Bug Fixes:
|
|
223
487
|
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
224
488
|
|
225
489
|
### 3.4.0 / 2015-11-11
|
226
|
-
[Full Changelog](
|
490
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
227
491
|
|
228
492
|
Enhancements:
|
229
493
|
|
@@ -244,7 +508,7 @@ Bug Fixes:
|
|
244
508
|
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
245
509
|
|
246
510
|
### 3.3.3 / 2015-07-15
|
247
|
-
[Full Changelog](
|
511
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
248
512
|
|
249
513
|
Bug Fixes:
|
250
514
|
|
@@ -252,7 +516,7 @@ Bug Fixes:
|
|
252
516
|
including symbols. (Dan Kohn, #1414)
|
253
517
|
|
254
518
|
### 3.3.2 / 2015-06-18
|
255
|
-
[Full Changelog](
|
519
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
256
520
|
|
257
521
|
Bug Fixes:
|
258
522
|
|
@@ -262,7 +526,7 @@ Bug Fixes:
|
|
262
526
|
abstract AR class. (Jon Rowe, #1396)
|
263
527
|
|
264
528
|
### 3.3.1 / 2015-06-14
|
265
|
-
[Full Changelog](
|
529
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
266
530
|
|
267
531
|
Bug Fixes:
|
268
532
|
|
@@ -270,7 +534,7 @@ Bug Fixes:
|
|
270
534
|
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
271
535
|
|
272
536
|
### 3.3.0 / 2015-06-12
|
273
|
-
[Full Changelog](
|
537
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
274
538
|
|
275
539
|
Enhancements:
|
276
540
|
|
@@ -278,17 +542,17 @@ Enhancements:
|
|
278
542
|
* Improve controller and routing spec calls to `routes` by using `yield`
|
279
543
|
instead of `call`. (Anton Davydov, #1308)
|
280
544
|
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
|
281
|
-
via both
|
545
|
+
via both `type: :job` and inferring type from spec directory `spec/jobs`.
|
282
546
|
(Gabe Martin-Dempesy, #1361)
|
283
547
|
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
|
284
|
-
|
548
|
+
`use_fixtures: true`. (Aaron Kromer, #1372)
|
285
549
|
* Include `rspec:request` generator for generating request specs; this is an
|
286
550
|
alias of `rspec:integration` (Aaron Kromer, #1378)
|
287
551
|
* Update `rails_helper` generator with a default check to abort the spec run
|
288
552
|
when the Rails environment is production. (Aaron Kromer, #1383)
|
289
553
|
|
290
554
|
### 3.2.3 / 2015-06-06
|
291
|
-
[Full Changelog](
|
555
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
292
556
|
|
293
557
|
Bug Fixes:
|
294
558
|
|
@@ -296,7 +560,7 @@ Bug Fixes:
|
|
296
560
|
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
297
561
|
|
298
562
|
### 3.2.2 / 2015-06-03
|
299
|
-
[Full Changelog](
|
563
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
300
564
|
|
301
565
|
Bug Fixes:
|
302
566
|
|
@@ -309,7 +573,7 @@ Bug Fixes:
|
|
309
573
|
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
310
574
|
|
311
575
|
### 3.2.1 / 2015-02-23
|
312
|
-
[Full Changelog](
|
576
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
313
577
|
|
314
578
|
Bug Fixes:
|
315
579
|
|
@@ -321,7 +585,7 @@ Bug Fixes:
|
|
321
585
|
Ruby < 2.2 (Aaron Kromer, #1320)
|
322
586
|
|
323
587
|
### 3.2.0 / 2015-02-03
|
324
|
-
[Full Changelog](
|
588
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
325
589
|
|
326
590
|
Enhancements:
|
327
591
|
|
@@ -346,7 +610,7 @@ Bug Fixes:
|
|
346
610
|
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
347
611
|
|
348
612
|
### 3.1.0 / 2014-09-04
|
349
|
-
[Full Changelog](
|
613
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
350
614
|
|
351
615
|
Enhancements:
|
352
616
|
|
@@ -365,7 +629,7 @@ Bug Fixes:
|
|
365
629
|
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
366
630
|
|
367
631
|
### 3.0.2 / 2014-07-21
|
368
|
-
[Full Changelog](
|
632
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
369
633
|
|
370
634
|
Bug Fixes:
|
371
635
|
|
@@ -374,14 +638,14 @@ Bug Fixes:
|
|
374
638
|
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
375
639
|
|
376
640
|
### 3.0.1 / 2014-06-02
|
377
|
-
[Full Changelog](
|
641
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
378
642
|
|
379
643
|
Bug Fixes:
|
380
644
|
|
381
645
|
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
382
646
|
|
383
647
|
### 3.0.0 / 2014-06-01
|
384
|
-
[Full Changelog](
|
648
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|
385
649
|
|
386
650
|
Enhancements:
|
387
651
|
|
@@ -394,7 +658,7 @@ Bug Fixes:
|
|
394
658
|
* Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
|
395
659
|
|
396
660
|
### 3.0.0.rc1 / 2014-05-18
|
397
|
-
[Full Changelog](
|
661
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
|
398
662
|
|
399
663
|
Breaking Changes for 3.0.0:
|
400
664
|
|
@@ -422,7 +686,7 @@ Enhancements:
|
|
422
686
|
Bug Fixes:
|
423
687
|
|
424
688
|
* Fix an inconsistency in the generated scaffold specs for a controller. (Andy Waite)
|
425
|
-
* Ensure `config.before(:all, :
|
689
|
+
* Ensure `config.before(:all, type: <type>)` hooks run before groups
|
426
690
|
of the given type, even when the type is inferred by the file
|
427
691
|
location. (Jon Rowe, Myron Marston)
|
428
692
|
* Switch to parsing params with `Rack::Utils::parse_nested_query` to match Rails.
|
@@ -430,7 +694,7 @@ Bug Fixes:
|
|
430
694
|
* Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
|
431
695
|
|
432
696
|
### 3.0.0.beta2 / 2014-02-17
|
433
|
-
[Full Changelog](
|
697
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
|
434
698
|
|
435
699
|
Breaking Changes for 3.0.0:
|
436
700
|
|
@@ -458,7 +722,7 @@ Bug Fixes:
|
|
458
722
|
* Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
|
459
723
|
|
460
724
|
### 3.0.0.beta1 / 2013-11-07
|
461
|
-
[Full Changelog](
|
725
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
|
462
726
|
|
463
727
|
Breaking Changes for 3.0.0:
|
464
728
|
|
@@ -466,12 +730,12 @@ Breaking Changes for 3.0.0:
|
|
466
730
|
(Andy Lindeman)
|
467
731
|
|
468
732
|
### 2.99.0 / 2014-06-01
|
469
|
-
[Full Changelog](
|
733
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
|
470
734
|
|
471
735
|
No changes. Just taking it out of pre-release.
|
472
736
|
|
473
737
|
### 2.99.0.rc1 / 2014-05-18
|
474
|
-
[Full Changelog](
|
738
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
|
475
739
|
|
476
740
|
Deprecations
|
477
741
|
|
@@ -488,7 +752,7 @@ Deprecations
|
|
488
752
|
class passed to `describe`. (Myron Marston)
|
489
753
|
|
490
754
|
### 2.99.0.beta2 / 2014-02-17
|
491
|
-
[Full Changelog](
|
755
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
|
492
756
|
|
493
757
|
Deprecations:
|
494
758
|
|
@@ -506,7 +770,7 @@ Bug Fixes:
|
|
506
770
|
is not present. (Jon Rowe)
|
507
771
|
|
508
772
|
### 2.99.0.beta1 / 2013-11-07
|
509
|
-
[Full Changelog](
|
773
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
|
510
774
|
|
511
775
|
Deprecations:
|
512
776
|
|
@@ -528,7 +792,7 @@ Bug Fixes:
|
|
528
792
|
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
529
793
|
|
530
794
|
### 2.14.1 / 2013-12-29
|
531
|
-
[full changelog](
|
795
|
+
[full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
|
532
796
|
|
533
797
|
Bug Fixes:
|
534
798
|
|
@@ -543,7 +807,7 @@ Bug Fixes:
|
|
543
807
|
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
544
808
|
|
545
809
|
### 2.14.0 / 2013-07-06
|
546
|
-
[Full Changelog](
|
810
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
|
547
811
|
|
548
812
|
Bug fixes
|
549
813
|
|
@@ -555,7 +819,7 @@ Bug fixes
|
|
555
819
|
Rails 4. (Andy Lindeman)
|
556
820
|
|
557
821
|
### 2.14.0.rc1 / 2013-05-27
|
558
|
-
[Full Changelog](
|
822
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
|
559
823
|
|
560
824
|
Enhancements
|
561
825
|
|
@@ -568,7 +832,7 @@ Bug fixes
|
|
568
832
|
spec/ directory. (Benjamin Fleischer)
|
569
833
|
|
570
834
|
### 2.13.2 / 2013-05-18
|
571
|
-
[Full Changelog](
|
835
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
|
572
836
|
|
573
837
|
Bug fixes
|
574
838
|
|
@@ -583,7 +847,7 @@ Enhancements
|
|
583
847
|
* Document how the spec/support directory works. (Sam Phippen)
|
584
848
|
|
585
849
|
### 2.13.1 / 2013-04-27
|
586
|
-
[Full Changelog](
|
850
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
|
587
851
|
|
588
852
|
Bug fixes
|
589
853
|
|
@@ -597,7 +861,7 @@ Bug fixes
|
|
597
861
|
* Fix spacing in the install generator template (Taiki ONO)
|
598
862
|
|
599
863
|
### 2.13.0 / 2013-02-23
|
600
|
-
[Full Changelog](
|
864
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
|
601
865
|
|
602
866
|
Enhancements
|
603
867
|
|
@@ -612,7 +876,7 @@ Enhancements
|
|
612
876
|
(Rudolf Schmidt)
|
613
877
|
|
614
878
|
### 2.12.2 / 2013-01-12
|
615
|
-
[Full Changelog](
|
879
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
|
616
880
|
|
617
881
|
Bug fixes
|
618
882
|
|
@@ -624,7 +888,7 @@ Bug fixes
|
|
624
888
|
Lindeman)
|
625
889
|
|
626
890
|
### 2.12.1 / 2013-01-07
|
627
|
-
[Full Changelog](
|
891
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
|
628
892
|
|
629
893
|
Bug fixes
|
630
894
|
|
@@ -639,7 +903,7 @@ Bug fixes
|
|
639
903
|
and generation of URLs from other contexts. (Andy Lindeman)
|
640
904
|
|
641
905
|
### 2.12.0 / 2012-11-12
|
642
|
-
[Full Changelog](
|
906
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
|
643
907
|
|
644
908
|
Enhancements
|
645
909
|
|
@@ -660,7 +924,7 @@ Bug fixes
|
|
660
924
|
* Failures message for `be_new_record` are more useful (Andy Lindeman)
|
661
925
|
|
662
926
|
### 2.11.4 / 2012-10-14
|
663
|
-
[Full Changelog](
|
927
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
|
664
928
|
|
665
929
|
Capybara-2.0 integration support:
|
666
930
|
|
@@ -668,13 +932,13 @@ Capybara-2.0 integration support:
|
|
668
932
|
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
|
669
933
|
|
670
934
|
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
|
671
|
-
and [
|
935
|
+
and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
|
672
936
|
for background.
|
673
937
|
|
674
938
|
2.11.1, .2, .3 were yanked due to errant documentation.
|
675
939
|
|
676
940
|
### 2.11.0 / 2012-07-07
|
677
|
-
[Full Changelog](
|
941
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
|
678
942
|
|
679
943
|
Enhancements
|
680
944
|
|
@@ -693,7 +957,7 @@ Bug fixes
|
|
693
957
|
loads (Andy Lindeman)
|
694
958
|
|
695
959
|
### 2.10.1 / 2012-05-03
|
696
|
-
[Full Changelog](
|
960
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
|
697
961
|
|
698
962
|
Bug fixes
|
699
963
|
|
@@ -703,7 +967,7 @@ Bug fixes
|
|
703
967
|
Rails already does this (Jack Dempsey)
|
704
968
|
|
705
969
|
### 2.10.0 / 2012-05-03
|
706
|
-
[Full Changelog](
|
970
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
|
707
971
|
|
708
972
|
Bug fixes
|
709
973
|
|
@@ -718,7 +982,7 @@ Bug fixes
|
|
718
982
|
Strother)
|
719
983
|
|
720
984
|
### 2.9.0 / 2012-03-17
|
721
|
-
[Full Changelog](
|
985
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
|
722
986
|
|
723
987
|
Enhancements
|
724
988
|
|
@@ -733,7 +997,7 @@ Bug fixes
|
|
733
997
|
|
734
998
|
### 2.8.1 / 2012-01-04
|
735
999
|
|
736
|
-
[Full Changelog](
|
1000
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
|
737
1001
|
|
738
1002
|
NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
|
739
1003
|
stub_model in rspec-rails. This release fixes that issue, but it means that
|
@@ -746,7 +1010,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
746
1010
|
|
747
1011
|
### 2.8.0 / 2012-01-04
|
748
1012
|
|
749
|
-
[Full Changelog](
|
1013
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
|
750
1014
|
|
751
1015
|
* Enhancements
|
752
1016
|
* Eliminate deprecation warnings in generated view specs in Rails 3.2
|
@@ -756,7 +1020,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
756
1020
|
|
757
1021
|
### 2.8.0.rc2 / 2011-12-19
|
758
1022
|
|
759
|
-
[Full Changelog](
|
1023
|
+
[Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
|
760
1024
|
|
761
1025
|
* Enhancements
|
762
1026
|
* Add session hash to generated controller specs (Thiago Almeida)
|
@@ -768,7 +1032,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
768
1032
|
|
769
1033
|
### 2.8.0.rc1 / 2011-11-06
|
770
1034
|
|
771
|
-
[Full Changelog](
|
1035
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
|
772
1036
|
|
773
1037
|
* Enhancements
|
774
1038
|
* Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
|
@@ -784,7 +1048,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
784
1048
|
|
785
1049
|
### 2.7.0 / 2011-10-16
|
786
1050
|
|
787
|
-
[Full Changelog](
|
1051
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
|
788
1052
|
|
789
1053
|
* Enhancements
|
790
1054
|
* `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
|
@@ -809,7 +1073,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
809
1073
|
|
810
1074
|
### 2.6.1 / 2011-05-25
|
811
1075
|
|
812
|
-
[Full Changelog](
|
1076
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
|
813
1077
|
|
814
1078
|
This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
815
1079
|
|
@@ -820,7 +1084,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
820
1084
|
|
821
1085
|
### 2.6.0 / 2011-05-12
|
822
1086
|
|
823
|
-
[Full Changelog](
|
1087
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
|
824
1088
|
|
825
1089
|
* Enhancements
|
826
1090
|
* rails 3 shortcuts for routing specs (Joe Fiorini)
|
@@ -844,7 +1108,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
844
1108
|
|
845
1109
|
### 2.5.0 / 2011-02-05
|
846
1110
|
|
847
|
-
[Full Changelog](
|
1111
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
|
848
1112
|
|
849
1113
|
* Enhancements
|
850
1114
|
* use index_helper instead of table_name when generating specs (Reza
|
@@ -859,7 +1123,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
859
1123
|
|
860
1124
|
### 2.4.1 / 2011-01-03
|
861
1125
|
|
862
|
-
[Full Changelog](
|
1126
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
|
863
1127
|
|
864
1128
|
* Bug fixes
|
865
1129
|
* fixed bug caused by including some Rails modules before RSpec's
|
@@ -867,12 +1131,12 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
867
1131
|
|
868
1132
|
### 2.4.0 / 2011-01-02
|
869
1133
|
|
870
|
-
[Full Changelog](
|
1134
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
|
871
1135
|
|
872
1136
|
* Enhancements
|
873
1137
|
* include ApplicationHelper in helper object in helper specs
|
874
1138
|
* include request spec extensions in files in spec/integration
|
875
|
-
* include controller spec extensions in groups that use :
|
1139
|
+
* include controller spec extensions in groups that use type: :controller
|
876
1140
|
* same for :model, :view, :helper, :mailer, :request, :routing
|
877
1141
|
|
878
1142
|
* Bug fixes
|
@@ -887,7 +1151,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
887
1151
|
|
888
1152
|
### 2.3.1 / 2010-12-16
|
889
1153
|
|
890
|
-
[Full Changelog](
|
1154
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
|
891
1155
|
|
892
1156
|
* Bug fixes
|
893
1157
|
* respond_to? correctly handles 2 args
|
@@ -895,7 +1159,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
895
1159
|
|
896
1160
|
### 2.3.0 / 2010-12-12
|
897
1161
|
|
898
|
-
[Full Changelog](
|
1162
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
|
899
1163
|
|
900
1164
|
* Changes
|
901
1165
|
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
|
@@ -903,7 +1167,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
903
1167
|
|
904
1168
|
### 2.2.1 / 2010-12-01
|
905
1169
|
|
906
|
-
[Full Changelog](
|
1170
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
|
907
1171
|
|
908
1172
|
* Bug fixes
|
909
1173
|
* Depend on railties, activesupport, and actionpack instead of rails (Piotr
|
@@ -915,7 +1179,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
915
1179
|
|
916
1180
|
### 2.2.0 / 2010-11-28
|
917
1181
|
|
918
|
-
[Full Changelog](
|
1182
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
|
919
1183
|
|
920
1184
|
* Enhancements
|
921
1185
|
* Added stub_template in view specs
|
@@ -930,7 +1194,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
930
1194
|
|
931
1195
|
### 2.1.0 / 2010-11-07
|
932
1196
|
|
933
|
-
[Full Changelog](
|
1197
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
|
934
1198
|
|
935
1199
|
* Enhancements
|
936
1200
|
* Move errors_on to ActiveModel to support other AM-compliant ORMs
|
@@ -941,7 +1205,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
941
1205
|
|
942
1206
|
### 2.0.1 / 2010-10-15
|
943
1207
|
|
944
|
-
[Full Changelog](
|
1208
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
|
945
1209
|
|
946
1210
|
* Enhancements
|
947
1211
|
* Add option to not generate request spec (--skip-request-specs)
|