rspec-rails 4.0.0.beta2 → 4.0.0.beta3
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.tar.gz.sig +0 -0
- data/Changelog.md +105 -83
- data/README.md +1 -1
- data/lib/generators/rspec/channel/channel_generator.rb +12 -0
- data/lib/generators/rspec/channel/templates/channel_spec.rb.erb +7 -0
- data/lib/generators/rspec/controller/controller_generator.rb +11 -2
- data/lib/generators/rspec/controller/templates/routing_spec.rb +13 -0
- 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/model/templates/fixtures.yml +1 -1
- data/lib/rspec/rails/configuration.rb +15 -5
- data/lib/rspec/rails/example.rb +2 -0
- data/lib/rspec/rails/example/channel_example_group.rb +93 -0
- data/lib/rspec/rails/example/feature_example_group.rb +1 -1
- 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/system_example_group.rb +14 -2
- data/lib/rspec/rails/example/view_example_group.rb +29 -8
- data/lib/rspec/rails/feature_check.rb +16 -0
- data/lib/rspec/rails/matchers.rb +10 -0
- data/lib/rspec/rails/matchers/action_cable.rb +65 -0
- 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_mailbox.rb +64 -0
- data/lib/rspec/rails/matchers/active_job.rb +16 -5
- data/lib/rspec/rails/matchers/have_enqueued_mail.rb +44 -22
- data/lib/rspec/rails/matchers/routing_matchers.rb +1 -1
- data/lib/rspec/rails/version.rb +1 -1
- metadata +15 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae59820fb98850c1f67442c749ce42e76895fca3a17f952ac36d752903fd986
|
4
|
+
data.tar.gz: 713bb7441b6d66036dc73f2f9fa448419390627890ab0bf6a535c84800758939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 691dc937903a8aaac3e23feff435710e521082a0ace9bddc00cba9bd9ecb52610104b66458c900ababcf19a74e341affa78c109eb589faa7c25f7320db82954a
|
7
|
+
data.tar.gz: 56d7c5dbd4a1e437f5f011274f084a6e1a835b0795d369fe56e53b993dbf4a199067b96f73e2ae2aad7b6c556ee6dcb6b24cd46fd12a967bfe15e50450367bce
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,9 +1,19 @@
|
|
1
|
-
###
|
2
|
-
[Full Changelog](
|
1
|
+
### Development
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.0...master)
|
3
3
|
|
4
4
|
Enhancements:
|
5
5
|
|
6
|
+
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
|
6
7
|
* Adds support for JRuby on Rails 5.2 and 6
|
8
|
+
* Add support for parameterised mailers (Ignatius Reza, #2125)
|
9
|
+
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
|
10
|
+
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
|
11
|
+
* Add support for partial args when using `have_enqueued_mail`
|
12
|
+
(Ignatius Reza, #2118, #2125)
|
13
|
+
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
|
14
|
+
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
|
15
|
+
* Add routing spec template as an option for generating controller specs.
|
16
|
+
(David Revelo, #2134)
|
7
17
|
|
8
18
|
Bug Fixes:
|
9
19
|
|
@@ -13,36 +23,48 @@ Bug Fixes:
|
|
13
23
|
deprecated. (Pavel Rosický, #2092)
|
14
24
|
* `ActionView::Template#formats` has been deprecated and replaced by
|
15
25
|
`ActionView::Template#format`(Seb Jacobs, #2100)
|
26
|
+
* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
|
27
|
+
are generated correctly. (Jon Rowe, #2164)
|
28
|
+
* `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
|
29
|
+
(Penelope Phippen, #2076)
|
30
|
+
* Add missing require for `have_enqueued_mail` matcher. (Ignatius Reza, #2117)
|
16
31
|
|
17
32
|
Breaking Changes:
|
18
33
|
|
19
34
|
* Drops support for Rails below 5.0
|
20
35
|
* Drops support for Ruby below 2.3
|
21
36
|
|
22
|
-
###
|
23
|
-
[Full Changelog](
|
37
|
+
### 3.9.0 / 2019-10-08
|
38
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
39
|
+
|
40
|
+
Enhancements
|
41
|
+
|
42
|
+
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
43
|
+
supported. (OKURA Masafumi, #2048)
|
44
|
+
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
45
|
+
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
46
|
+
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
47
|
+
* Add generator for generator specs. (@ConSou, #2085)
|
48
|
+
* Add option to generate routes when generating controller specs. (David Revelo, #2134)
|
24
49
|
|
25
50
|
Bug Fixes:
|
26
51
|
|
27
52
|
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
28
|
-
matches. e.g. `expect { job; job; }.to_not have_enqueued_job
|
53
|
+
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
29
54
|
(Emric Istanful, #2069)
|
55
|
+
|
56
|
+
### 3.8.3 / 2019-10-03
|
57
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
58
|
+
|
59
|
+
Bug Fixes:
|
60
|
+
|
30
61
|
* Namespaced fixtures now generate a `/` seperated path rather than an `_`.
|
31
62
|
(@nxlith, #2077)
|
32
63
|
* Check the arity of `errors` before attempting to use it to generate the `be_valid`
|
33
64
|
error message. (Kevin Kuchta, #2096)
|
34
65
|
|
35
|
-
Enhancements
|
36
|
-
|
37
|
-
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
38
|
-
supported. (OKURA Masafumi, #2048)
|
39
|
-
* Add `have_enqueued` matcher as a "super" matcher to the `ActiveJob` matchers
|
40
|
-
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
41
|
-
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
42
|
-
* Add generator for generator specs. (@ConSou, #2085)
|
43
|
-
|
44
66
|
### 3.8.2 / 2019-01-13
|
45
|
-
[Full Changelog](
|
67
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
46
68
|
|
47
69
|
Bug Fixes:
|
48
70
|
|
@@ -56,7 +78,7 @@ Bug Fixes:
|
|
56
78
|
(Emric Istanful, #2069)
|
57
79
|
|
58
80
|
### 3.8.1 / 2018-10-23
|
59
|
-
[Full Changelog](
|
81
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
60
82
|
|
61
83
|
Bug Fixes:
|
62
84
|
|
@@ -68,7 +90,7 @@ Bug Fixes:
|
|
68
90
|
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
69
91
|
|
70
92
|
### 3.8.0 / 2018-08-04
|
71
|
-
[Full Changelog](
|
93
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
72
94
|
|
73
95
|
Enhancements:
|
74
96
|
|
@@ -95,7 +117,7 @@ Bug Fixes:
|
|
95
117
|
|
96
118
|
|
97
119
|
### 3.7.2 / 2017-11-20
|
98
|
-
[Full Changelog](
|
120
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
|
99
121
|
|
100
122
|
Bug Fixes:
|
101
123
|
|
@@ -104,14 +126,14 @@ Bug Fixes:
|
|
104
126
|
(Matt Brictson, #1907)
|
105
127
|
|
106
128
|
### 3.7.1 / 2017-10-18
|
107
|
-
[Full Changelog](
|
129
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
108
130
|
|
109
131
|
Bug Fixes:
|
110
132
|
|
111
133
|
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
112
134
|
|
113
135
|
### 3.7.0 / 2017-10-17
|
114
|
-
[Full Changelog](
|
136
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
115
137
|
|
116
138
|
Bug Fixes:
|
117
139
|
|
@@ -127,7 +149,7 @@ Enhancements:
|
|
127
149
|
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
128
150
|
|
129
151
|
### 3.6.0 / 2017-05-04
|
130
|
-
[Full Changelog](
|
152
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
131
153
|
|
132
154
|
Enhancements:
|
133
155
|
|
@@ -139,7 +161,7 @@ Bug Fixes:
|
|
139
161
|
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
140
162
|
|
141
163
|
### 3.6.0.beta2 / 2016-12-12
|
142
|
-
[Full Changelog](
|
164
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
143
165
|
|
144
166
|
Enhancements:
|
145
167
|
|
@@ -149,7 +171,7 @@ Enhancements:
|
|
149
171
|
(Kevin Glowacz, #1795)
|
150
172
|
|
151
173
|
### 3.6.0.beta1 / 2016-10-09
|
152
|
-
[Full Changelog](
|
174
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
153
175
|
|
154
176
|
Enhancements:
|
155
177
|
|
@@ -159,7 +181,7 @@ Enhancements:
|
|
159
181
|
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
160
182
|
|
161
183
|
### 3.5.2 / 2016-08-26
|
162
|
-
[Full Changelog](
|
184
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
163
185
|
|
164
186
|
Bug Fixes:
|
165
187
|
|
@@ -169,7 +191,7 @@ Bug Fixes:
|
|
169
191
|
(Wojciech Wnętrzak, #1684)
|
170
192
|
|
171
193
|
### 3.5.1 / 2016-07-08
|
172
|
-
[Full Changelog](
|
194
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
173
195
|
|
174
196
|
Bug Fixes:
|
175
197
|
|
@@ -178,12 +200,12 @@ Bug Fixes:
|
|
178
200
|
is defined. (#1660, Betesh).
|
179
201
|
|
180
202
|
### 3.5.0 / 2016-07-01
|
181
|
-
[Full Changelog](
|
203
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
|
182
204
|
|
183
205
|
**No user facing changes since beta4**
|
184
206
|
|
185
207
|
### 3.5.0.beta4 / 2016-06-05
|
186
|
-
[Full Changelog](
|
208
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
|
187
209
|
|
188
210
|
Enhancements:
|
189
211
|
|
@@ -201,7 +223,7 @@ Bug fixes:
|
|
201
223
|
(Jon Rowe, #1623).
|
202
224
|
|
203
225
|
### 3.5.0.beta3 / 2016-04-02
|
204
|
-
[Full Changelog](
|
226
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
205
227
|
|
206
228
|
Enhancements:
|
207
229
|
|
@@ -213,7 +235,7 @@ Bug fixes:
|
|
213
235
|
(Jon Rowe, Benjamin Quorning, #1580)
|
214
236
|
|
215
237
|
### 3.5.0.beta2 / 2016-03-10
|
216
|
-
[Full Changelog](
|
238
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
217
239
|
|
218
240
|
Enhancements:
|
219
241
|
|
@@ -227,7 +249,7 @@ Bug fixes:
|
|
227
249
|
(Alwahsh, #1550)
|
228
250
|
|
229
251
|
### 3.5.0.beta1 / 2016-02-06
|
230
|
-
[Full Changelog](
|
252
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
231
253
|
|
232
254
|
Enhancements:
|
233
255
|
|
@@ -248,7 +270,7 @@ Bug fixes:
|
|
248
270
|
adapter. (Wojciech Wnętrzak, #1489)
|
249
271
|
|
250
272
|
### 3.4.2 / 2016-02-02
|
251
|
-
[Full Changelog](
|
273
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
252
274
|
|
253
275
|
Bug Fixes:
|
254
276
|
|
@@ -256,7 +278,7 @@ Bug Fixes:
|
|
256
278
|
regression from #1535. (Andrew White, #1544)
|
257
279
|
|
258
280
|
### 3.4.1 / 2016-01-25
|
259
|
-
[Full Changelog](
|
281
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
260
282
|
|
261
283
|
Bug Fixes:
|
262
284
|
|
@@ -264,7 +286,7 @@ Bug Fixes:
|
|
264
286
|
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
265
287
|
|
266
288
|
### 3.4.0 / 2015-11-11
|
267
|
-
[Full Changelog](
|
289
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
268
290
|
|
269
291
|
Enhancements:
|
270
292
|
|
@@ -285,7 +307,7 @@ Bug Fixes:
|
|
285
307
|
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
286
308
|
|
287
309
|
### 3.3.3 / 2015-07-15
|
288
|
-
[Full Changelog](
|
310
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
289
311
|
|
290
312
|
Bug Fixes:
|
291
313
|
|
@@ -293,7 +315,7 @@ Bug Fixes:
|
|
293
315
|
including symbols. (Dan Kohn, #1414)
|
294
316
|
|
295
317
|
### 3.3.2 / 2015-06-18
|
296
|
-
[Full Changelog](
|
318
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
297
319
|
|
298
320
|
Bug Fixes:
|
299
321
|
|
@@ -303,7 +325,7 @@ Bug Fixes:
|
|
303
325
|
abstract AR class. (Jon Rowe, #1396)
|
304
326
|
|
305
327
|
### 3.3.1 / 2015-06-14
|
306
|
-
[Full Changelog](
|
328
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
307
329
|
|
308
330
|
Bug Fixes:
|
309
331
|
|
@@ -311,7 +333,7 @@ Bug Fixes:
|
|
311
333
|
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
312
334
|
|
313
335
|
### 3.3.0 / 2015-06-12
|
314
|
-
[Full Changelog](
|
336
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
315
337
|
|
316
338
|
Enhancements:
|
317
339
|
|
@@ -329,7 +351,7 @@ Enhancements:
|
|
329
351
|
when the Rails environment is production. (Aaron Kromer, #1383)
|
330
352
|
|
331
353
|
### 3.2.3 / 2015-06-06
|
332
|
-
[Full Changelog](
|
354
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
333
355
|
|
334
356
|
Bug Fixes:
|
335
357
|
|
@@ -337,7 +359,7 @@ Bug Fixes:
|
|
337
359
|
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
338
360
|
|
339
361
|
### 3.2.2 / 2015-06-03
|
340
|
-
[Full Changelog](
|
362
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
341
363
|
|
342
364
|
Bug Fixes:
|
343
365
|
|
@@ -350,7 +372,7 @@ Bug Fixes:
|
|
350
372
|
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
351
373
|
|
352
374
|
### 3.2.1 / 2015-02-23
|
353
|
-
[Full Changelog](
|
375
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
354
376
|
|
355
377
|
Bug Fixes:
|
356
378
|
|
@@ -362,7 +384,7 @@ Bug Fixes:
|
|
362
384
|
Ruby < 2.2 (Aaron Kromer, #1320)
|
363
385
|
|
364
386
|
### 3.2.0 / 2015-02-03
|
365
|
-
[Full Changelog](
|
387
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
366
388
|
|
367
389
|
Enhancements:
|
368
390
|
|
@@ -387,7 +409,7 @@ Bug Fixes:
|
|
387
409
|
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
388
410
|
|
389
411
|
### 3.1.0 / 2014-09-04
|
390
|
-
[Full Changelog](
|
412
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
391
413
|
|
392
414
|
Enhancements:
|
393
415
|
|
@@ -406,7 +428,7 @@ Bug Fixes:
|
|
406
428
|
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
407
429
|
|
408
430
|
### 3.0.2 / 2014-07-21
|
409
|
-
[Full Changelog](
|
431
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
410
432
|
|
411
433
|
Bug Fixes:
|
412
434
|
|
@@ -415,14 +437,14 @@ Bug Fixes:
|
|
415
437
|
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
416
438
|
|
417
439
|
### 3.0.1 / 2014-06-02
|
418
|
-
[Full Changelog](
|
440
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
419
441
|
|
420
442
|
Bug Fixes:
|
421
443
|
|
422
444
|
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
423
445
|
|
424
446
|
### 3.0.0 / 2014-06-01
|
425
|
-
[Full Changelog](
|
447
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|
426
448
|
|
427
449
|
Enhancements:
|
428
450
|
|
@@ -435,7 +457,7 @@ Bug Fixes:
|
|
435
457
|
* Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
|
436
458
|
|
437
459
|
### 3.0.0.rc1 / 2014-05-18
|
438
|
-
[Full Changelog](
|
460
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
|
439
461
|
|
440
462
|
Breaking Changes for 3.0.0:
|
441
463
|
|
@@ -471,7 +493,7 @@ Bug Fixes:
|
|
471
493
|
* Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
|
472
494
|
|
473
495
|
### 3.0.0.beta2 / 2014-02-17
|
474
|
-
[Full Changelog](
|
496
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
|
475
497
|
|
476
498
|
Breaking Changes for 3.0.0:
|
477
499
|
|
@@ -499,7 +521,7 @@ Bug Fixes:
|
|
499
521
|
* Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
|
500
522
|
|
501
523
|
### 3.0.0.beta1 / 2013-11-07
|
502
|
-
[Full Changelog](
|
524
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
|
503
525
|
|
504
526
|
Breaking Changes for 3.0.0:
|
505
527
|
|
@@ -507,12 +529,12 @@ Breaking Changes for 3.0.0:
|
|
507
529
|
(Andy Lindeman)
|
508
530
|
|
509
531
|
### 2.99.0 / 2014-06-01
|
510
|
-
[Full Changelog](
|
532
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
|
511
533
|
|
512
534
|
No changes. Just taking it out of pre-release.
|
513
535
|
|
514
536
|
### 2.99.0.rc1 / 2014-05-18
|
515
|
-
[Full Changelog](
|
537
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
|
516
538
|
|
517
539
|
Deprecations
|
518
540
|
|
@@ -529,7 +551,7 @@ Deprecations
|
|
529
551
|
class passed to `describe`. (Myron Marston)
|
530
552
|
|
531
553
|
### 2.99.0.beta2 / 2014-02-17
|
532
|
-
[Full Changelog](
|
554
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
|
533
555
|
|
534
556
|
Deprecations:
|
535
557
|
|
@@ -547,7 +569,7 @@ Bug Fixes:
|
|
547
569
|
is not present. (Jon Rowe)
|
548
570
|
|
549
571
|
### 2.99.0.beta1 / 2013-11-07
|
550
|
-
[Full Changelog](
|
572
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
|
551
573
|
|
552
574
|
Deprecations:
|
553
575
|
|
@@ -569,7 +591,7 @@ Bug Fixes:
|
|
569
591
|
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
570
592
|
|
571
593
|
### 2.14.1 / 2013-12-29
|
572
|
-
[full changelog](
|
594
|
+
[full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
|
573
595
|
|
574
596
|
Bug Fixes:
|
575
597
|
|
@@ -584,7 +606,7 @@ Bug Fixes:
|
|
584
606
|
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
585
607
|
|
586
608
|
### 2.14.0 / 2013-07-06
|
587
|
-
[Full Changelog](
|
609
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
|
588
610
|
|
589
611
|
Bug fixes
|
590
612
|
|
@@ -596,7 +618,7 @@ Bug fixes
|
|
596
618
|
Rails 4. (Andy Lindeman)
|
597
619
|
|
598
620
|
### 2.14.0.rc1 / 2013-05-27
|
599
|
-
[Full Changelog](
|
621
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
|
600
622
|
|
601
623
|
Enhancements
|
602
624
|
|
@@ -609,7 +631,7 @@ Bug fixes
|
|
609
631
|
spec/ directory. (Benjamin Fleischer)
|
610
632
|
|
611
633
|
### 2.13.2 / 2013-05-18
|
612
|
-
[Full Changelog](
|
634
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
|
613
635
|
|
614
636
|
Bug fixes
|
615
637
|
|
@@ -624,7 +646,7 @@ Enhancements
|
|
624
646
|
* Document how the spec/support directory works. (Sam Phippen)
|
625
647
|
|
626
648
|
### 2.13.1 / 2013-04-27
|
627
|
-
[Full Changelog](
|
649
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
|
628
650
|
|
629
651
|
Bug fixes
|
630
652
|
|
@@ -638,7 +660,7 @@ Bug fixes
|
|
638
660
|
* Fix spacing in the install generator template (Taiki ONO)
|
639
661
|
|
640
662
|
### 2.13.0 / 2013-02-23
|
641
|
-
[Full Changelog](
|
663
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
|
642
664
|
|
643
665
|
Enhancements
|
644
666
|
|
@@ -653,7 +675,7 @@ Enhancements
|
|
653
675
|
(Rudolf Schmidt)
|
654
676
|
|
655
677
|
### 2.12.2 / 2013-01-12
|
656
|
-
[Full Changelog](
|
678
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
|
657
679
|
|
658
680
|
Bug fixes
|
659
681
|
|
@@ -665,7 +687,7 @@ Bug fixes
|
|
665
687
|
Lindeman)
|
666
688
|
|
667
689
|
### 2.12.1 / 2013-01-07
|
668
|
-
[Full Changelog](
|
690
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
|
669
691
|
|
670
692
|
Bug fixes
|
671
693
|
|
@@ -680,7 +702,7 @@ Bug fixes
|
|
680
702
|
and generation of URLs from other contexts. (Andy Lindeman)
|
681
703
|
|
682
704
|
### 2.12.0 / 2012-11-12
|
683
|
-
[Full Changelog](
|
705
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
|
684
706
|
|
685
707
|
Enhancements
|
686
708
|
|
@@ -701,7 +723,7 @@ Bug fixes
|
|
701
723
|
* Failures message for `be_new_record` are more useful (Andy Lindeman)
|
702
724
|
|
703
725
|
### 2.11.4 / 2012-10-14
|
704
|
-
[Full Changelog](
|
726
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
|
705
727
|
|
706
728
|
Capybara-2.0 integration support:
|
707
729
|
|
@@ -709,13 +731,13 @@ Capybara-2.0 integration support:
|
|
709
731
|
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
|
710
732
|
|
711
733
|
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
|
712
|
-
and [
|
734
|
+
and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
|
713
735
|
for background.
|
714
736
|
|
715
737
|
2.11.1, .2, .3 were yanked due to errant documentation.
|
716
738
|
|
717
739
|
### 2.11.0 / 2012-07-07
|
718
|
-
[Full Changelog](
|
740
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
|
719
741
|
|
720
742
|
Enhancements
|
721
743
|
|
@@ -734,7 +756,7 @@ Bug fixes
|
|
734
756
|
loads (Andy Lindeman)
|
735
757
|
|
736
758
|
### 2.10.1 / 2012-05-03
|
737
|
-
[Full Changelog](
|
759
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
|
738
760
|
|
739
761
|
Bug fixes
|
740
762
|
|
@@ -744,7 +766,7 @@ Bug fixes
|
|
744
766
|
Rails already does this (Jack Dempsey)
|
745
767
|
|
746
768
|
### 2.10.0 / 2012-05-03
|
747
|
-
[Full Changelog](
|
769
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
|
748
770
|
|
749
771
|
Bug fixes
|
750
772
|
|
@@ -759,7 +781,7 @@ Bug fixes
|
|
759
781
|
Strother)
|
760
782
|
|
761
783
|
### 2.9.0 / 2012-03-17
|
762
|
-
[Full Changelog](
|
784
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
|
763
785
|
|
764
786
|
Enhancements
|
765
787
|
|
@@ -774,7 +796,7 @@ Bug fixes
|
|
774
796
|
|
775
797
|
### 2.8.1 / 2012-01-04
|
776
798
|
|
777
|
-
[Full Changelog](
|
799
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
|
778
800
|
|
779
801
|
NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
|
780
802
|
stub_model in rspec-rails. This release fixes that issue, but it means that
|
@@ -787,7 +809,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
787
809
|
|
788
810
|
### 2.8.0 / 2012-01-04
|
789
811
|
|
790
|
-
[Full Changelog](
|
812
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
|
791
813
|
|
792
814
|
* Enhancements
|
793
815
|
* Eliminate deprecation warnings in generated view specs in Rails 3.2
|
@@ -797,7 +819,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
797
819
|
|
798
820
|
### 2.8.0.rc2 / 2011-12-19
|
799
821
|
|
800
|
-
[Full Changelog](
|
822
|
+
[Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
|
801
823
|
|
802
824
|
* Enhancements
|
803
825
|
* Add session hash to generated controller specs (Thiago Almeida)
|
@@ -809,7 +831,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
809
831
|
|
810
832
|
### 2.8.0.rc1 / 2011-11-06
|
811
833
|
|
812
|
-
[Full Changelog](
|
834
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
|
813
835
|
|
814
836
|
* Enhancements
|
815
837
|
* Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
|
@@ -825,7 +847,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
825
847
|
|
826
848
|
### 2.7.0 / 2011-10-16
|
827
849
|
|
828
|
-
[Full Changelog](
|
850
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
|
829
851
|
|
830
852
|
* Enhancements
|
831
853
|
* `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
|
@@ -850,7 +872,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
850
872
|
|
851
873
|
### 2.6.1 / 2011-05-25
|
852
874
|
|
853
|
-
[Full Changelog](
|
875
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
|
854
876
|
|
855
877
|
This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
856
878
|
|
@@ -861,7 +883,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
861
883
|
|
862
884
|
### 2.6.0 / 2011-05-12
|
863
885
|
|
864
|
-
[Full Changelog](
|
886
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
|
865
887
|
|
866
888
|
* Enhancements
|
867
889
|
* rails 3 shortcuts for routing specs (Joe Fiorini)
|
@@ -885,7 +907,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
885
907
|
|
886
908
|
### 2.5.0 / 2011-02-05
|
887
909
|
|
888
|
-
[Full Changelog](
|
910
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
|
889
911
|
|
890
912
|
* Enhancements
|
891
913
|
* use index_helper instead of table_name when generating specs (Reza
|
@@ -900,7 +922,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
900
922
|
|
901
923
|
### 2.4.1 / 2011-01-03
|
902
924
|
|
903
|
-
[Full Changelog](
|
925
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
|
904
926
|
|
905
927
|
* Bug fixes
|
906
928
|
* fixed bug caused by including some Rails modules before RSpec's
|
@@ -908,7 +930,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
908
930
|
|
909
931
|
### 2.4.0 / 2011-01-02
|
910
932
|
|
911
|
-
[Full Changelog](
|
933
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
|
912
934
|
|
913
935
|
* Enhancements
|
914
936
|
* include ApplicationHelper in helper object in helper specs
|
@@ -928,7 +950,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
928
950
|
|
929
951
|
### 2.3.1 / 2010-12-16
|
930
952
|
|
931
|
-
[Full Changelog](
|
953
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
|
932
954
|
|
933
955
|
* Bug fixes
|
934
956
|
* respond_to? correctly handles 2 args
|
@@ -936,7 +958,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
936
958
|
|
937
959
|
### 2.3.0 / 2010-12-12
|
938
960
|
|
939
|
-
[Full Changelog](
|
961
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
|
940
962
|
|
941
963
|
* Changes
|
942
964
|
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
|
@@ -944,7 +966,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
944
966
|
|
945
967
|
### 2.2.1 / 2010-12-01
|
946
968
|
|
947
|
-
[Full Changelog](
|
969
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
|
948
970
|
|
949
971
|
* Bug fixes
|
950
972
|
* Depend on railties, activesupport, and actionpack instead of rails (Piotr
|
@@ -956,7 +978,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
956
978
|
|
957
979
|
### 2.2.0 / 2010-11-28
|
958
980
|
|
959
|
-
[Full Changelog](
|
981
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
|
960
982
|
|
961
983
|
* Enhancements
|
962
984
|
* Added stub_template in view specs
|
@@ -971,7 +993,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
971
993
|
|
972
994
|
### 2.1.0 / 2010-11-07
|
973
995
|
|
974
|
-
[Full Changelog](
|
996
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
|
975
997
|
|
976
998
|
* Enhancements
|
977
999
|
* Move errors_on to ActiveModel to support other AM-compliant ORMs
|
@@ -982,7 +1004,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
982
1004
|
|
983
1005
|
### 2.0.1 / 2010-10-15
|
984
1006
|
|
985
|
-
[Full Changelog](
|
1007
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
|
986
1008
|
|
987
1009
|
* Enhancements
|
988
1010
|
* Add option to not generate request spec (--skip-request-specs)
|