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 )
1
+ ### 4.0.0 / 2020-03-24
2
+ [ Full Changelog] ( https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0 )
45
3
46
4
Enhancements:
47
5
6
+ * Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071 )
48
7
* Adds support for JRuby on Rails 5.2 and 6
49
8
* Add support for parameterised mailers (Ignatius Reza, #2125 )
50
9
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119 )
@@ -55,28 +14,18 @@ Enhancements:
55
14
* Improve path parsing in view specs render options. (John Hawthorn, #2115 )
56
15
* Add routing spec template as an option for generating controller specs.
57
16
(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 )
17
+ * Add argument matcher support to ` have_enqueued_* ` matchers. (Phil Pirozhkov, #2206 )
18
+ * Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224 )
19
+ * Add ` have_been_performed ` /` have_performed_job ` /` perform_job ` ActiveJob
20
+ matchers (Isaac Seymour, #1785 )
21
+ * Default to generating request specs rather than controller specs when
22
+ generating a controller (Luka Lüdicke, #2222 )
23
+ * Allow ` ActiveJob ` matchers ` #on_queue ` modifier to take symbolic queue names. (Nils Sommer, #2283 )
24
+ * The scaffold generator now generates request specs in preference to controller specs.
25
+ (Luka Lüdicke, #2288 )
26
+ * Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266 )
27
+ * Set ` ActionDispatch::SystemTesting::Server.silence_puma = true ` when running system specs.
28
+ (ta1kt0me, Benoit Tigeot, #2289 )
80
29
81
30
Bug Fixes:
82
31
@@ -86,12 +35,35 @@ Bug Fixes:
86
35
deprecated. (Pavel Rosický, #2092 )
87
36
* ` ActionView::Template#formats ` has been deprecated and replaced by
88
37
` ActionView::Template#format ` (Seb Jacobs, #2100 )
38
+ * Replace ` before_teardown ` as well as ` after_teardown ` to ensure screenshots
39
+ are generated correctly. (Jon Rowe, #2164 )
40
+ * ` ActionView::FixtureResolver#hash ` has been renamed to ` ActionView::FixtureResolver#data ` .
41
+ (Penelope Phippen, #2076 )
42
+ * Prevent ` driven_by(:selenium) ` being called due to hook precedence.
43
+ (Takumi Shotoku, #2188 )
44
+ * Prevent a ` WrongScopeError ` being thrown during loading fixtures on Rails
45
+ 6.1 development version. (Edouard Chin, #2215 )
46
+ * Fix Mocha mocking support with ` should ` . (Phil Pirozhkov, #2256 )
47
+ * Restore previous conditional check for setting ` default_url_options ` in feature
48
+ specs, prevents a ` NoMethodError ` in some scenarios. (Eugene Kenny, #2277 )
49
+ * Allow changing ` ActiveJob::Base.queue_adapter ` inside a system spec.
50
+ (Jonathan Rochkind, #2242 )
51
+ * ` rails generate generator ` command now creates related spec file (Joel Azemar, #2217 )
52
+ * Relax upper ` capybara ` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281 )
53
+ * Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293 )
89
54
90
55
Breaking Changes:
91
56
92
57
* Drops support for Rails below 5.0
93
58
* Drops support for Ruby below 2.3
94
59
60
+ ### 3.9.1 / 2020-03-10
61
+ [ Full Changelog] ( http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1 )
62
+
63
+ Bug Fixes:
64
+
65
+ * Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117 )
66
+
95
67
### 3.9.0 / 2019-10-08
96
68
[ Full Changelog] ( https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0 )
97
69
0 commit comments