rspec-rails 4.0.0.rc1 → 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +3 -0
- data/lib/rspec/rails/configuration.rb +1 -0
- data/lib/rspec/rails/example/system_example_group.rb +4 -0
- data/lib/rspec/rails/version.rb +1 -1
- metadata +5 -5
- 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: 8e8f5dabd4f5335dc409c77670d7aef552636874486111f105613d54e4270375
|
|
4
|
+
data.tar.gz: 72f211f8667a1d6faedaa8e02877958ccd742c5591107ed568a620fc38999c55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a4125a040fcc9d7b1e9d8ee802f2d9ad75bc581a3e9263c329db8ddaccfd49988ccaab066c0aebad50e3b78a99d0ebe22e04a9648e44f6e1284325ea112e4c63
|
|
7
|
+
data.tar.gz: e08c9439828c7f1b2f3ec543ea72d554f92d79adde6cb01e19d8486c3fc64887432239d1159d4aea7a6b8811cd4f3aaff811b777b3dff80569facfaa38ede625
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -7,6 +7,8 @@ Enhancements:
|
|
|
7
7
|
* The scaffold generator now generates request specs in preference to controller specs.
|
|
8
8
|
(Luka Lüdicke, #2288)
|
|
9
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)
|
|
10
12
|
|
|
11
13
|
Bug Fixes:
|
|
12
14
|
|
|
@@ -16,6 +18,7 @@ Bug Fixes:
|
|
|
16
18
|
(Jonathan Rochkind, #2242)
|
|
17
19
|
* `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
|
|
18
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)
|
|
19
22
|
|
|
20
23
|
### 4.0.0.beta4
|
|
21
24
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta3...v4.0.0.beta4)
|
|
@@ -137,6 +137,7 @@ module RSpec
|
|
|
137
137
|
|
|
138
138
|
if RSpec::Rails::FeatureCheck.has_action_mailer?
|
|
139
139
|
config.include RSpec::Rails::MailerExampleGroup, type: :mailer
|
|
140
|
+
config.after { ActionMailer::Base.deliveries.clear }
|
|
140
141
|
end
|
|
141
142
|
|
|
142
143
|
if RSpec::Rails::FeatureCheck.has_active_job?
|
|
@@ -50,6 +50,10 @@ module RSpec
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
included do |other|
|
|
53
|
+
ActiveSupport.on_load(:action_dispatch_system_test_case) do
|
|
54
|
+
ActionDispatch::SystemTesting::Server.silence_puma = true
|
|
55
|
+
end
|
|
56
|
+
|
|
53
57
|
begin
|
|
54
58
|
require 'capybara'
|
|
55
59
|
require 'action_dispatch/system_test_case'
|
data/lib/rspec/rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.0
|
|
4
|
+
version: 4.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Chelimsky
|
|
@@ -44,7 +44,7 @@ cert_chain:
|
|
|
44
44
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
|
45
45
|
F3MdtaDehhjC
|
|
46
46
|
-----END CERTIFICATE-----
|
|
47
|
-
date: 2020-03-
|
|
47
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
|
48
48
|
dependencies:
|
|
49
49
|
- !ruby/object:Gem::Dependency
|
|
50
50
|
name: actionpack
|
|
@@ -296,7 +296,7 @@ licenses:
|
|
|
296
296
|
- MIT
|
|
297
297
|
metadata:
|
|
298
298
|
bug_tracker_uri: https://github.com/rspec/rspec-rails/issues
|
|
299
|
-
changelog_uri: https://github.com/rspec/rspec-rails/blob/v4.0.0
|
|
299
|
+
changelog_uri: https://github.com/rspec/rspec-rails/blob/v4.0.0/Changelog.md
|
|
300
300
|
documentation_uri: https://rspec.info/documentation/
|
|
301
301
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
302
302
|
source_code_uri: https://github.com/rspec/rspec-rails
|
|
@@ -312,9 +312,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
312
312
|
version: '0'
|
|
313
313
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
314
314
|
requirements:
|
|
315
|
-
- - "
|
|
315
|
+
- - ">="
|
|
316
316
|
- !ruby/object:Gem::Version
|
|
317
|
-
version:
|
|
317
|
+
version: '0'
|
|
318
318
|
requirements: []
|
|
319
319
|
rubygems_version: 3.1.2
|
|
320
320
|
signing_key:
|
metadata.gz.sig
CHANGED
|
Binary file
|