rspec-rails 4.0.0.rc1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cf0a532366cef497e1b49006e7091da23b57071c1c4748b91dc7e4fb1f1b382
4
- data.tar.gz: 8ae957b352b26a7bec08b5c07aab62906d662996aba06398d19f036016b09477
3
+ metadata.gz: 8e8f5dabd4f5335dc409c77670d7aef552636874486111f105613d54e4270375
4
+ data.tar.gz: 72f211f8667a1d6faedaa8e02877958ccd742c5591107ed568a620fc38999c55
5
5
  SHA512:
6
- metadata.gz: c9992d5aea4659d31b69b48e741c87d50deb3df2151bef86adb6084a3b6feb421d20408d52b0157481dce4e9b0aef31ebdeacfa71efdb97bedc26f7f310f211e
7
- data.tar.gz: f6f524c072df299e3566abcb99d603eafefe8edc47440bc13e31fa87cf84a2f325c7cd8519eeecedf8cee4c647cbbdccac806e1cc905f9c6068b38a84bfbf025
6
+ metadata.gz: a4125a040fcc9d7b1e9d8ee802f2d9ad75bc581a3e9263c329db8ddaccfd49988ccaab066c0aebad50e3b78a99d0ebe22e04a9648e44f6e1284325ea112e4c63
7
+ data.tar.gz: e08c9439828c7f1b2f3ec543ea72d554f92d79adde6cb01e19d8486c3fc64887432239d1159d4aea7a6b8811cd4f3aaff811b777b3dff80569facfaa38ede625
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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'
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Rails.
4
4
  module Version
5
5
  # Current version of RSpec Rails, in semantic versioning format.
6
- STRING = '4.0.0.rc1'
6
+ STRING = '4.0.0'
7
7
  end
8
8
  end
9
9
  end
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.rc1
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-13 00:00:00.000000000 Z
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.rc1/Changelog.md
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: 1.3.1
317
+ version: '0'
318
318
  requirements: []
319
319
  rubygems_version: 3.1.2
320
320
  signing_key:
metadata.gz.sig CHANGED
Binary file