diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-02-23 23:50:32 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-02-23 23:50:32 -0300 |
commit | ea6a21d1eed3d5ed80d3abf268dc3477cf4c8cdf (patch) | |
tree | 993c866cfebdb612b24c67333edc7a47e3b206a0 /activesupport | |
parent | 5ad9bcc3e5ed562d06ce6e4a0afac82ae26c1bbe (diff) | |
parent | 63171b86cb6c0af3326239b2ecce879e3deccd1d (diff) | |
download | rails-ea6a21d1eed3d5ed80d3abf268dc3477cf4c8cdf.tar.gz rails-ea6a21d1eed3d5ed80d3abf268dc3477cf4c8cdf.tar.bz2 rails-ea6a21d1eed3d5ed80d3abf268dc3477cf4c8cdf.zip |
Merge pull request #23838 from kamipo/fix_assert_nothing_raised_deprecation_warning_format
Fix `assert_nothing_raised` deprecation warning format
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 2d2e25c970..1fc12d0bc1 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -76,8 +76,9 @@ module ActiveSupport # end def assert_nothing_raised(*args) if args.present? - ActiveSupport::Deprecation.warn("Passing arguments to assert_nothing_raised - is deprecated and will be removed in Rails 5.1.") + ActiveSupport::Deprecation.warn( + "Passing arguments to assert_nothing_raised " \ + "is deprecated and will be removed in Rails 5.1.") end yield end |