rspec-rails 3.7.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data/Capybara.md +5 -54
- data/Changelog.md +259 -70
- data/README.md +265 -496
- 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 +21 -4
- data/lib/generators/rspec/controller/templates/request_spec.rb +14 -0
- data/lib/generators/rspec/controller/templates/routing_spec.rb +13 -0
- data/lib/generators/rspec/feature/feature_generator.rb +4 -4
- 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 +25 -12
- data/lib/generators/rspec/integration/integration_generator.rb +4 -4
- data/lib/generators/rspec/integration/templates/request_spec.rb +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/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 +43 -23
- data/lib/generators/rspec/scaffold/templates/api_controller_spec.rb +2 -38
- data/lib/generators/rspec/scaffold/templates/api_request_spec.rb +131 -0
- data/lib/generators/rspec/scaffold/templates/controller_spec.rb +17 -17
- data/lib/generators/rspec/scaffold/templates/edit_spec.rb +1 -1
- data/lib/generators/rspec/scaffold/templates/index_spec.rb +2 -2
- data/lib/generators/rspec/scaffold/templates/new_spec.rb +1 -1
- data/lib/generators/rspec/scaffold/templates/request_spec.rb +133 -0
- data/lib/generators/rspec/scaffold/templates/routing_spec.rb +10 -13
- data/lib/generators/rspec/scaffold/templates/show_spec.rb +1 -1
- data/lib/generators/rspec/system/system_generator.rb +26 -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 +47 -36
- data/lib/rspec/rails/example/channel_example_group.rb +93 -0
- data/lib/rspec/rails/example/controller_example_group.rb +4 -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 +1 -1
- data/lib/rspec/rails/example/rails_example_group.rb +1 -1
- data/lib/rspec/rails/example/system_example_group.rb +96 -60
- data/lib/rspec/rails/example/view_example_group.rb +47 -28
- data/lib/rspec/rails/example.rb +3 -3
- data/lib/rspec/rails/extensions/active_record/proxy.rb +1 -9
- data/lib/rspec/rails/feature_check.rb +12 -29
- data/lib/rspec/rails/fixture_file_upload_support.rb +40 -0
- data/lib/rspec/rails/fixture_support.rb +37 -31
- 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 +64 -0
- data/lib/rspec/rails/matchers/active_job.rb +180 -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 +198 -0
- data/lib/rspec/rails/matchers/have_http_status.rb +34 -13
- 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/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 +16 -5
- data/lib/rspec/rails.rb +1 -0
- data/lib/rspec-rails.rb +13 -10
- data.tar.gz.sig +0 -0
- metadata +55 -33
- metadata.gz.sig +0 -0
- data/lib/generators/rspec/observer/observer_generator.rb +0 -13
data/Changelog.md
CHANGED
@@ -1,8 +1,197 @@
|
|
1
|
-
###
|
2
|
-
[Full Changelog](
|
1
|
+
### 4.0.0.rc1 / 2020-03-13
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta4...v4.0.0.rc1)
|
3
|
+
|
4
|
+
Enhancements:
|
5
|
+
|
6
|
+
* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283)
|
7
|
+
* The scaffold generator now generates request specs in preference to controller specs.
|
8
|
+
(Luka Lüdicke, #2288)
|
9
|
+
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
|
10
|
+
* Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs.
|
11
|
+
(ta1kt0me, Benoit Tigeot, #2289)
|
12
|
+
|
13
|
+
Bug Fixes:
|
14
|
+
|
15
|
+
* Restore previous conditional check for setting `default_url_options` in feature
|
16
|
+
specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
|
17
|
+
* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
|
18
|
+
(Jonathan Rochkind, #2242)
|
19
|
+
* `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
|
20
|
+
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)
|
21
|
+
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
|
22
|
+
|
23
|
+
### 4.0.0.beta4
|
24
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta3...v4.0.0.beta4)
|
25
|
+
|
26
|
+
Enhancements:
|
27
|
+
|
28
|
+
* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
|
29
|
+
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
|
30
|
+
* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
|
31
|
+
matchers (Isaac Seymour, #1785)
|
32
|
+
* Default to generating request specs rather than controller specs when
|
33
|
+
generating a controller (Luka Lüdicke, #2222)
|
34
|
+
|
35
|
+
Bug Fixes:
|
36
|
+
|
37
|
+
* Prevent `driven_by(:selenium)` being called due to hook precedence.
|
38
|
+
(Takumi Shotoku, #2188)
|
39
|
+
* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
|
40
|
+
6.1 development version. (Edouard Chin, #2215)
|
41
|
+
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
|
42
|
+
|
43
|
+
### 4.0.0.beta3
|
44
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta2...v4.0.0.beta3)
|
45
|
+
|
46
|
+
Enhancements:
|
47
|
+
|
48
|
+
* Adds support for JRuby on Rails 5.2 and 6
|
49
|
+
* Add support for parameterised mailers (Ignatius Reza, #2125)
|
50
|
+
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
|
51
|
+
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
|
52
|
+
* Add support for partial args when using `have_enqueued_mail`
|
53
|
+
(Ignatius Reza, #2118, #2125)
|
54
|
+
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
|
55
|
+
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
|
56
|
+
* Add routing spec template as an option for generating controller specs.
|
57
|
+
(David Revelo, #2134)
|
58
|
+
|
59
|
+
Bug Fixes:
|
60
|
+
|
61
|
+
* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
|
62
|
+
are generated correctly. (Jon Rowe, #2164)
|
63
|
+
* `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
|
64
|
+
(Penelope Phippen, #2076)
|
65
|
+
* Add missing require for `have_enqueued_mail` matcher. (Ignatius Reza, #2117)
|
66
|
+
|
67
|
+
### 4.0.0.beta2
|
68
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta1...v4.0.0.beta2)
|
69
|
+
|
70
|
+
Bug Fixes:
|
71
|
+
|
72
|
+
* Fix version dependencies in gemspec.
|
73
|
+
|
74
|
+
### 4.0.0.beta1
|
75
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.0...v4.0.0.beta1)
|
76
|
+
|
77
|
+
Enhancements:
|
78
|
+
|
79
|
+
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
|
80
|
+
|
81
|
+
Bug Fixes:
|
82
|
+
|
83
|
+
* `EmptyTemplateHandler.call` now needs to support an additional argument in
|
84
|
+
Rails 6. (Pavel Rosický, #2089)
|
85
|
+
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
|
86
|
+
deprecated. (Pavel Rosický, #2092)
|
87
|
+
* `ActionView::Template#formats` has been deprecated and replaced by
|
88
|
+
`ActionView::Template#format`(Seb Jacobs, #2100)
|
89
|
+
|
90
|
+
Breaking Changes:
|
91
|
+
|
92
|
+
* Drops support for Rails below 5.0
|
93
|
+
* Drops support for Ruby below 2.3
|
94
|
+
|
95
|
+
### 3.9.0 / 2019-10-08
|
96
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
97
|
+
|
98
|
+
Enhancements
|
99
|
+
|
100
|
+
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
101
|
+
supported. (OKURA Masafumi, #2048)
|
102
|
+
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
103
|
+
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
104
|
+
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
105
|
+
* Add generator for generator specs. (@ConSou, #2085)
|
106
|
+
* Add option to generate routes when generating controller specs. (David Revelo, #2134)
|
107
|
+
|
108
|
+
Bug Fixes:
|
109
|
+
|
110
|
+
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
111
|
+
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
112
|
+
(Emric Istanful, #2069)
|
113
|
+
|
114
|
+
### 3.8.3 / 2019-10-03
|
115
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
116
|
+
|
117
|
+
Bug Fixes:
|
118
|
+
|
119
|
+
* Namespaced fixtures now generate a `/` seperated path rather than an `_`.
|
120
|
+
(@nxlith, #2077)
|
121
|
+
* Check the arity of `errors` before attempting to use it to generate the `be_valid`
|
122
|
+
error message. (Kevin Kuchta, #2096)
|
123
|
+
|
124
|
+
### 3.8.2 / 2019-01-13
|
125
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
126
|
+
|
127
|
+
Bug Fixes:
|
128
|
+
|
129
|
+
* Fix issue with generator for preview specs where `Mailer` would be duplicated
|
130
|
+
in the name. (Kohei Sugi, #2037)
|
131
|
+
* Fix the request spec generator to handle namespaced files. (Kohei Sugi, #2057)
|
132
|
+
* Further truncate system test filenames to handle cases when extra words are
|
133
|
+
prepended. (Takumi Kaji, #2058)
|
134
|
+
* Backport: Make the `ActiveJob` matchers fail when multiple jobs are queued
|
135
|
+
for negated matches. e.g. `expect { job; job; }.to_not have_enqueued_job
|
136
|
+
(Emric Istanful, #2069)
|
137
|
+
|
138
|
+
### 3.8.1 / 2018-10-23
|
139
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
140
|
+
|
141
|
+
Bug Fixes:
|
142
|
+
|
143
|
+
* Fix `NoMethodError: undefined method 'strip'` when using a `Pathname` object
|
144
|
+
as the fixture file path. (Aaron Kromer, #2026)
|
145
|
+
* When generating feature specs, do not duplicate namespace in the path name.
|
146
|
+
(Laura Paakkinen, #2034)
|
147
|
+
* Prevent `ActiveJob::DeserializationError` from being issued when `ActiveJob`
|
148
|
+
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
149
|
+
|
150
|
+
### 3.8.0 / 2018-08-04
|
151
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
152
|
+
|
153
|
+
Enhancements:
|
154
|
+
|
155
|
+
* Improved message when migrations are pending in the default `rails_helper.rb`
|
156
|
+
(Koichi ITO, #1924)
|
157
|
+
* `have_http_status` matcher now supports Rails 5.2 style response symbols
|
158
|
+
(Douglas Lovell, #1951)
|
159
|
+
* Change generated Rails helper to match Rails standards for Rails.root
|
160
|
+
(Alessandro Rodi, #1960)
|
161
|
+
* At support for asserting enqueued jobs have no wait period attached.
|
162
|
+
(Brad Charna, #1977)
|
163
|
+
* Cache instances of `ActionView::Template` used in `stub_template` resulting
|
164
|
+
in increased performance due to less allocations and setup. (Simon Coffey, #1979)
|
165
|
+
* Rails scaffold generator now respects longer namespaces (e.g. api/v1/\<thing\>).
|
166
|
+
(Laura Paakkinen, #1958)
|
167
|
+
|
168
|
+
Bug Fixes:
|
169
|
+
|
170
|
+
* Escape quotation characters when producing method names for system spec
|
171
|
+
screenshots. (Shane Cavanaugh, #1955)
|
172
|
+
* Use relative path for resolving fixtures when `fixture_path` is not set.
|
173
|
+
(Laurent Cobos, #1943)
|
174
|
+
* Allow custom template resolvers in view specs. (@ahorek, #1941)
|
175
|
+
|
176
|
+
|
177
|
+
### 3.7.2 / 2017-11-20
|
178
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
|
179
|
+
|
180
|
+
Bug Fixes:
|
181
|
+
|
182
|
+
* Delay loading system test integration until used. (Jon Rowe, #1903)
|
183
|
+
* Ensure specs using the aggregate failures feature take screenshots on failure.
|
184
|
+
(Matt Brictson, #1907)
|
185
|
+
|
186
|
+
### 3.7.1 / 2017-10-18
|
187
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
188
|
+
|
189
|
+
Bug Fixes:
|
190
|
+
|
191
|
+
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
3
192
|
|
4
193
|
### 3.7.0 / 2017-10-17
|
5
|
-
[Full Changelog](
|
194
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
6
195
|
|
7
196
|
Bug Fixes:
|
8
197
|
|
@@ -18,7 +207,7 @@ Enhancements:
|
|
18
207
|
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
19
208
|
|
20
209
|
### 3.6.0 / 2017-05-04
|
21
|
-
[Full Changelog](
|
210
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
22
211
|
|
23
212
|
Enhancements:
|
24
213
|
|
@@ -30,7 +219,7 @@ Bug Fixes:
|
|
30
219
|
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
31
220
|
|
32
221
|
### 3.6.0.beta2 / 2016-12-12
|
33
|
-
[Full Changelog](
|
222
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
34
223
|
|
35
224
|
Enhancements:
|
36
225
|
|
@@ -40,7 +229,7 @@ Enhancements:
|
|
40
229
|
(Kevin Glowacz, #1795)
|
41
230
|
|
42
231
|
### 3.6.0.beta1 / 2016-10-09
|
43
|
-
[Full Changelog](
|
232
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
44
233
|
|
45
234
|
Enhancements:
|
46
235
|
|
@@ -50,7 +239,7 @@ Enhancements:
|
|
50
239
|
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
51
240
|
|
52
241
|
### 3.5.2 / 2016-08-26
|
53
|
-
[Full Changelog](
|
242
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
54
243
|
|
55
244
|
Bug Fixes:
|
56
245
|
|
@@ -60,7 +249,7 @@ Bug Fixes:
|
|
60
249
|
(Wojciech Wnętrzak, #1684)
|
61
250
|
|
62
251
|
### 3.5.1 / 2016-07-08
|
63
|
-
[Full Changelog](
|
252
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
64
253
|
|
65
254
|
Bug Fixes:
|
66
255
|
|
@@ -69,12 +258,12 @@ Bug Fixes:
|
|
69
258
|
is defined. (#1660, Betesh).
|
70
259
|
|
71
260
|
### 3.5.0 / 2016-07-01
|
72
|
-
[Full Changelog](
|
261
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
|
73
262
|
|
74
263
|
**No user facing changes since beta4**
|
75
264
|
|
76
265
|
### 3.5.0.beta4 / 2016-06-05
|
77
|
-
[Full Changelog](
|
266
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
|
78
267
|
|
79
268
|
Enhancements:
|
80
269
|
|
@@ -92,7 +281,7 @@ Bug fixes:
|
|
92
281
|
(Jon Rowe, #1623).
|
93
282
|
|
94
283
|
### 3.5.0.beta3 / 2016-04-02
|
95
|
-
[Full Changelog](
|
284
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
96
285
|
|
97
286
|
Enhancements:
|
98
287
|
|
@@ -104,7 +293,7 @@ Bug fixes:
|
|
104
293
|
(Jon Rowe, Benjamin Quorning, #1580)
|
105
294
|
|
106
295
|
### 3.5.0.beta2 / 2016-03-10
|
107
|
-
[Full Changelog](
|
296
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
108
297
|
|
109
298
|
Enhancements:
|
110
299
|
|
@@ -118,7 +307,7 @@ Bug fixes:
|
|
118
307
|
(Alwahsh, #1550)
|
119
308
|
|
120
309
|
### 3.5.0.beta1 / 2016-02-06
|
121
|
-
[Full Changelog](
|
310
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
122
311
|
|
123
312
|
Enhancements:
|
124
313
|
|
@@ -139,7 +328,7 @@ Bug fixes:
|
|
139
328
|
adapter. (Wojciech Wnętrzak, #1489)
|
140
329
|
|
141
330
|
### 3.4.2 / 2016-02-02
|
142
|
-
[Full Changelog](
|
331
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
143
332
|
|
144
333
|
Bug Fixes:
|
145
334
|
|
@@ -147,7 +336,7 @@ Bug Fixes:
|
|
147
336
|
regression from #1535. (Andrew White, #1544)
|
148
337
|
|
149
338
|
### 3.4.1 / 2016-01-25
|
150
|
-
[Full Changelog](
|
339
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
151
340
|
|
152
341
|
Bug Fixes:
|
153
342
|
|
@@ -155,7 +344,7 @@ Bug Fixes:
|
|
155
344
|
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
156
345
|
|
157
346
|
### 3.4.0 / 2015-11-11
|
158
|
-
[Full Changelog](
|
347
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
159
348
|
|
160
349
|
Enhancements:
|
161
350
|
|
@@ -176,7 +365,7 @@ Bug Fixes:
|
|
176
365
|
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
177
366
|
|
178
367
|
### 3.3.3 / 2015-07-15
|
179
|
-
[Full Changelog](
|
368
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
180
369
|
|
181
370
|
Bug Fixes:
|
182
371
|
|
@@ -184,7 +373,7 @@ Bug Fixes:
|
|
184
373
|
including symbols. (Dan Kohn, #1414)
|
185
374
|
|
186
375
|
### 3.3.2 / 2015-06-18
|
187
|
-
[Full Changelog](
|
376
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
188
377
|
|
189
378
|
Bug Fixes:
|
190
379
|
|
@@ -194,7 +383,7 @@ Bug Fixes:
|
|
194
383
|
abstract AR class. (Jon Rowe, #1396)
|
195
384
|
|
196
385
|
### 3.3.1 / 2015-06-14
|
197
|
-
[Full Changelog](
|
386
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
198
387
|
|
199
388
|
Bug Fixes:
|
200
389
|
|
@@ -202,7 +391,7 @@ Bug Fixes:
|
|
202
391
|
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
203
392
|
|
204
393
|
### 3.3.0 / 2015-06-12
|
205
|
-
[Full Changelog](
|
394
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
206
395
|
|
207
396
|
Enhancements:
|
208
397
|
|
@@ -210,17 +399,17 @@ Enhancements:
|
|
210
399
|
* Improve controller and routing spec calls to `routes` by using `yield`
|
211
400
|
instead of `call`. (Anton Davydov, #1308)
|
212
401
|
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
|
213
|
-
via both
|
402
|
+
via both `type: :job` and inferring type from spec directory `spec/jobs`.
|
214
403
|
(Gabe Martin-Dempesy, #1361)
|
215
404
|
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
|
216
|
-
|
405
|
+
`use_fixtures: true`. (Aaron Kromer, #1372)
|
217
406
|
* Include `rspec:request` generator for generating request specs; this is an
|
218
407
|
alias of `rspec:integration` (Aaron Kromer, #1378)
|
219
408
|
* Update `rails_helper` generator with a default check to abort the spec run
|
220
409
|
when the Rails environment is production. (Aaron Kromer, #1383)
|
221
410
|
|
222
411
|
### 3.2.3 / 2015-06-06
|
223
|
-
[Full Changelog](
|
412
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
224
413
|
|
225
414
|
Bug Fixes:
|
226
415
|
|
@@ -228,7 +417,7 @@ Bug Fixes:
|
|
228
417
|
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
229
418
|
|
230
419
|
### 3.2.2 / 2015-06-03
|
231
|
-
[Full Changelog](
|
420
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
232
421
|
|
233
422
|
Bug Fixes:
|
234
423
|
|
@@ -241,7 +430,7 @@ Bug Fixes:
|
|
241
430
|
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
242
431
|
|
243
432
|
### 3.2.1 / 2015-02-23
|
244
|
-
[Full Changelog](
|
433
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
245
434
|
|
246
435
|
Bug Fixes:
|
247
436
|
|
@@ -253,7 +442,7 @@ Bug Fixes:
|
|
253
442
|
Ruby < 2.2 (Aaron Kromer, #1320)
|
254
443
|
|
255
444
|
### 3.2.0 / 2015-02-03
|
256
|
-
[Full Changelog](
|
445
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
257
446
|
|
258
447
|
Enhancements:
|
259
448
|
|
@@ -278,7 +467,7 @@ Bug Fixes:
|
|
278
467
|
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
279
468
|
|
280
469
|
### 3.1.0 / 2014-09-04
|
281
|
-
[Full Changelog](
|
470
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
282
471
|
|
283
472
|
Enhancements:
|
284
473
|
|
@@ -297,7 +486,7 @@ Bug Fixes:
|
|
297
486
|
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
298
487
|
|
299
488
|
### 3.0.2 / 2014-07-21
|
300
|
-
[Full Changelog](
|
489
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
301
490
|
|
302
491
|
Bug Fixes:
|
303
492
|
|
@@ -306,14 +495,14 @@ Bug Fixes:
|
|
306
495
|
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
307
496
|
|
308
497
|
### 3.0.1 / 2014-06-02
|
309
|
-
[Full Changelog](
|
498
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
310
499
|
|
311
500
|
Bug Fixes:
|
312
501
|
|
313
502
|
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
314
503
|
|
315
504
|
### 3.0.0 / 2014-06-01
|
316
|
-
[Full Changelog](
|
505
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|
317
506
|
|
318
507
|
Enhancements:
|
319
508
|
|
@@ -326,7 +515,7 @@ Bug Fixes:
|
|
326
515
|
* Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
|
327
516
|
|
328
517
|
### 3.0.0.rc1 / 2014-05-18
|
329
|
-
[Full Changelog](
|
518
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
|
330
519
|
|
331
520
|
Breaking Changes for 3.0.0:
|
332
521
|
|
@@ -354,7 +543,7 @@ Enhancements:
|
|
354
543
|
Bug Fixes:
|
355
544
|
|
356
545
|
* Fix an inconsistency in the generated scaffold specs for a controller. (Andy Waite)
|
357
|
-
* Ensure `config.before(:all, :
|
546
|
+
* Ensure `config.before(:all, type: <type>)` hooks run before groups
|
358
547
|
of the given type, even when the type is inferred by the file
|
359
548
|
location. (Jon Rowe, Myron Marston)
|
360
549
|
* Switch to parsing params with `Rack::Utils::parse_nested_query` to match Rails.
|
@@ -362,7 +551,7 @@ Bug Fixes:
|
|
362
551
|
* Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
|
363
552
|
|
364
553
|
### 3.0.0.beta2 / 2014-02-17
|
365
|
-
[Full Changelog](
|
554
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
|
366
555
|
|
367
556
|
Breaking Changes for 3.0.0:
|
368
557
|
|
@@ -390,7 +579,7 @@ Bug Fixes:
|
|
390
579
|
* Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
|
391
580
|
|
392
581
|
### 3.0.0.beta1 / 2013-11-07
|
393
|
-
[Full Changelog](
|
582
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
|
394
583
|
|
395
584
|
Breaking Changes for 3.0.0:
|
396
585
|
|
@@ -398,12 +587,12 @@ Breaking Changes for 3.0.0:
|
|
398
587
|
(Andy Lindeman)
|
399
588
|
|
400
589
|
### 2.99.0 / 2014-06-01
|
401
|
-
[Full Changelog](
|
590
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
|
402
591
|
|
403
592
|
No changes. Just taking it out of pre-release.
|
404
593
|
|
405
594
|
### 2.99.0.rc1 / 2014-05-18
|
406
|
-
[Full Changelog](
|
595
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
|
407
596
|
|
408
597
|
Deprecations
|
409
598
|
|
@@ -420,7 +609,7 @@ Deprecations
|
|
420
609
|
class passed to `describe`. (Myron Marston)
|
421
610
|
|
422
611
|
### 2.99.0.beta2 / 2014-02-17
|
423
|
-
[Full Changelog](
|
612
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
|
424
613
|
|
425
614
|
Deprecations:
|
426
615
|
|
@@ -438,7 +627,7 @@ Bug Fixes:
|
|
438
627
|
is not present. (Jon Rowe)
|
439
628
|
|
440
629
|
### 2.99.0.beta1 / 2013-11-07
|
441
|
-
[Full Changelog](
|
630
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
|
442
631
|
|
443
632
|
Deprecations:
|
444
633
|
|
@@ -460,7 +649,7 @@ Bug Fixes:
|
|
460
649
|
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
461
650
|
|
462
651
|
### 2.14.1 / 2013-12-29
|
463
|
-
[full changelog](
|
652
|
+
[full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
|
464
653
|
|
465
654
|
Bug Fixes:
|
466
655
|
|
@@ -475,7 +664,7 @@ Bug Fixes:
|
|
475
664
|
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
476
665
|
|
477
666
|
### 2.14.0 / 2013-07-06
|
478
|
-
[Full Changelog](
|
667
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
|
479
668
|
|
480
669
|
Bug fixes
|
481
670
|
|
@@ -487,7 +676,7 @@ Bug fixes
|
|
487
676
|
Rails 4. (Andy Lindeman)
|
488
677
|
|
489
678
|
### 2.14.0.rc1 / 2013-05-27
|
490
|
-
[Full Changelog](
|
679
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
|
491
680
|
|
492
681
|
Enhancements
|
493
682
|
|
@@ -500,7 +689,7 @@ Bug fixes
|
|
500
689
|
spec/ directory. (Benjamin Fleischer)
|
501
690
|
|
502
691
|
### 2.13.2 / 2013-05-18
|
503
|
-
[Full Changelog](
|
692
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
|
504
693
|
|
505
694
|
Bug fixes
|
506
695
|
|
@@ -515,7 +704,7 @@ Enhancements
|
|
515
704
|
* Document how the spec/support directory works. (Sam Phippen)
|
516
705
|
|
517
706
|
### 2.13.1 / 2013-04-27
|
518
|
-
[Full Changelog](
|
707
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
|
519
708
|
|
520
709
|
Bug fixes
|
521
710
|
|
@@ -529,7 +718,7 @@ Bug fixes
|
|
529
718
|
* Fix spacing in the install generator template (Taiki ONO)
|
530
719
|
|
531
720
|
### 2.13.0 / 2013-02-23
|
532
|
-
[Full Changelog](
|
721
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
|
533
722
|
|
534
723
|
Enhancements
|
535
724
|
|
@@ -544,7 +733,7 @@ Enhancements
|
|
544
733
|
(Rudolf Schmidt)
|
545
734
|
|
546
735
|
### 2.12.2 / 2013-01-12
|
547
|
-
[Full Changelog](
|
736
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
|
548
737
|
|
549
738
|
Bug fixes
|
550
739
|
|
@@ -556,7 +745,7 @@ Bug fixes
|
|
556
745
|
Lindeman)
|
557
746
|
|
558
747
|
### 2.12.1 / 2013-01-07
|
559
|
-
[Full Changelog](
|
748
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
|
560
749
|
|
561
750
|
Bug fixes
|
562
751
|
|
@@ -571,7 +760,7 @@ Bug fixes
|
|
571
760
|
and generation of URLs from other contexts. (Andy Lindeman)
|
572
761
|
|
573
762
|
### 2.12.0 / 2012-11-12
|
574
|
-
[Full Changelog](
|
763
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
|
575
764
|
|
576
765
|
Enhancements
|
577
766
|
|
@@ -592,7 +781,7 @@ Bug fixes
|
|
592
781
|
* Failures message for `be_new_record` are more useful (Andy Lindeman)
|
593
782
|
|
594
783
|
### 2.11.4 / 2012-10-14
|
595
|
-
[Full Changelog](
|
784
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
|
596
785
|
|
597
786
|
Capybara-2.0 integration support:
|
598
787
|
|
@@ -600,13 +789,13 @@ Capybara-2.0 integration support:
|
|
600
789
|
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
|
601
790
|
|
602
791
|
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
|
603
|
-
and [
|
792
|
+
and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
|
604
793
|
for background.
|
605
794
|
|
606
795
|
2.11.1, .2, .3 were yanked due to errant documentation.
|
607
796
|
|
608
797
|
### 2.11.0 / 2012-07-07
|
609
|
-
[Full Changelog](
|
798
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
|
610
799
|
|
611
800
|
Enhancements
|
612
801
|
|
@@ -625,7 +814,7 @@ Bug fixes
|
|
625
814
|
loads (Andy Lindeman)
|
626
815
|
|
627
816
|
### 2.10.1 / 2012-05-03
|
628
|
-
[Full Changelog](
|
817
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
|
629
818
|
|
630
819
|
Bug fixes
|
631
820
|
|
@@ -635,7 +824,7 @@ Bug fixes
|
|
635
824
|
Rails already does this (Jack Dempsey)
|
636
825
|
|
637
826
|
### 2.10.0 / 2012-05-03
|
638
|
-
[Full Changelog](
|
827
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
|
639
828
|
|
640
829
|
Bug fixes
|
641
830
|
|
@@ -650,7 +839,7 @@ Bug fixes
|
|
650
839
|
Strother)
|
651
840
|
|
652
841
|
### 2.9.0 / 2012-03-17
|
653
|
-
[Full Changelog](
|
842
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
|
654
843
|
|
655
844
|
Enhancements
|
656
845
|
|
@@ -665,7 +854,7 @@ Bug fixes
|
|
665
854
|
|
666
855
|
### 2.8.1 / 2012-01-04
|
667
856
|
|
668
|
-
[Full Changelog](
|
857
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
|
669
858
|
|
670
859
|
NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
|
671
860
|
stub_model in rspec-rails. This release fixes that issue, but it means that
|
@@ -678,7 +867,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
678
867
|
|
679
868
|
### 2.8.0 / 2012-01-04
|
680
869
|
|
681
|
-
[Full Changelog](
|
870
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
|
682
871
|
|
683
872
|
* Enhancements
|
684
873
|
* Eliminate deprecation warnings in generated view specs in Rails 3.2
|
@@ -688,7 +877,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
688
877
|
|
689
878
|
### 2.8.0.rc2 / 2011-12-19
|
690
879
|
|
691
|
-
[Full Changelog](
|
880
|
+
[Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
|
692
881
|
|
693
882
|
* Enhancements
|
694
883
|
* Add session hash to generated controller specs (Thiago Almeida)
|
@@ -700,7 +889,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
700
889
|
|
701
890
|
### 2.8.0.rc1 / 2011-11-06
|
702
891
|
|
703
|
-
[Full Changelog](
|
892
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
|
704
893
|
|
705
894
|
* Enhancements
|
706
895
|
* Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
|
@@ -716,7 +905,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
716
905
|
|
717
906
|
### 2.7.0 / 2011-10-16
|
718
907
|
|
719
|
-
[Full Changelog](
|
908
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
|
720
909
|
|
721
910
|
* Enhancements
|
722
911
|
* `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
|
@@ -741,7 +930,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
741
930
|
|
742
931
|
### 2.6.1 / 2011-05-25
|
743
932
|
|
744
|
-
[Full Changelog](
|
933
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
|
745
934
|
|
746
935
|
This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
747
936
|
|
@@ -752,7 +941,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
752
941
|
|
753
942
|
### 2.6.0 / 2011-05-12
|
754
943
|
|
755
|
-
[Full Changelog](
|
944
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
|
756
945
|
|
757
946
|
* Enhancements
|
758
947
|
* rails 3 shortcuts for routing specs (Joe Fiorini)
|
@@ -776,7 +965,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
776
965
|
|
777
966
|
### 2.5.0 / 2011-02-05
|
778
967
|
|
779
|
-
[Full Changelog](
|
968
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
|
780
969
|
|
781
970
|
* Enhancements
|
782
971
|
* use index_helper instead of table_name when generating specs (Reza
|
@@ -791,7 +980,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
791
980
|
|
792
981
|
### 2.4.1 / 2011-01-03
|
793
982
|
|
794
|
-
[Full Changelog](
|
983
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
|
795
984
|
|
796
985
|
* Bug fixes
|
797
986
|
* fixed bug caused by including some Rails modules before RSpec's
|
@@ -799,12 +988,12 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
799
988
|
|
800
989
|
### 2.4.0 / 2011-01-02
|
801
990
|
|
802
|
-
[Full Changelog](
|
991
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
|
803
992
|
|
804
993
|
* Enhancements
|
805
994
|
* include ApplicationHelper in helper object in helper specs
|
806
995
|
* include request spec extensions in files in spec/integration
|
807
|
-
* include controller spec extensions in groups that use :
|
996
|
+
* include controller spec extensions in groups that use type: :controller
|
808
997
|
* same for :model, :view, :helper, :mailer, :request, :routing
|
809
998
|
|
810
999
|
* Bug fixes
|
@@ -819,7 +1008,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
819
1008
|
|
820
1009
|
### 2.3.1 / 2010-12-16
|
821
1010
|
|
822
|
-
[Full Changelog](
|
1011
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
|
823
1012
|
|
824
1013
|
* Bug fixes
|
825
1014
|
* respond_to? correctly handles 2 args
|
@@ -827,7 +1016,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
827
1016
|
|
828
1017
|
### 2.3.0 / 2010-12-12
|
829
1018
|
|
830
|
-
[Full Changelog](
|
1019
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
|
831
1020
|
|
832
1021
|
* Changes
|
833
1022
|
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
|
@@ -835,7 +1024,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
835
1024
|
|
836
1025
|
### 2.2.1 / 2010-12-01
|
837
1026
|
|
838
|
-
[Full Changelog](
|
1027
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
|
839
1028
|
|
840
1029
|
* Bug fixes
|
841
1030
|
* Depend on railties, activesupport, and actionpack instead of rails (Piotr
|
@@ -847,7 +1036,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
847
1036
|
|
848
1037
|
### 2.2.0 / 2010-11-28
|
849
1038
|
|
850
|
-
[Full Changelog](
|
1039
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
|
851
1040
|
|
852
1041
|
* Enhancements
|
853
1042
|
* Added stub_template in view specs
|
@@ -862,7 +1051,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
862
1051
|
|
863
1052
|
### 2.1.0 / 2010-11-07
|
864
1053
|
|
865
|
-
[Full Changelog](
|
1054
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
|
866
1055
|
|
867
1056
|
* Enhancements
|
868
1057
|
* Move errors_on to ActiveModel to support other AM-compliant ORMs
|
@@ -873,7 +1062,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
873
1062
|
|
874
1063
|
### 2.0.1 / 2010-10-15
|
875
1064
|
|
876
|
-
[Full Changelog](
|
1065
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
|
877
1066
|
|
878
1067
|
* Enhancements
|
879
1068
|
* Add option to not generate request spec (--skip-request-specs)
|