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