diff options
author | Xavier Noria <fxn@hashref.com> | 2016-09-02 00:43:33 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-09-02 00:43:33 +0200 |
commit | 810dff7c9fa9b2a38eb1560ce0378d760529ee6b (patch) | |
tree | d5ea948c1f0043c7bc4c5b10241279e448a6d696 /activesupport | |
parent | 11eaf1c1dd48e86a38b8dc83a2b35d99f746b1f8 (diff) | |
download | rails-810dff7c9fa9b2a38eb1560ce0378d760529ee6b.tar.gz rails-810dff7c9fa9b2a38eb1560ce0378d760529ee6b.tar.bz2 rails-810dff7c9fa9b2a38eb1560ce0378d760529ee6b.zip |
RuboCop is 100% green :tada:
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/duration_test.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/duration_test.rb b/activesupport/test/core_ext/duration_test.rb index 1a2dcba760..a881768470 100644 --- a/activesupport/test/core_ext/duration_test.rb +++ b/activesupport/test/core_ext/duration_test.rb @@ -208,7 +208,11 @@ class DurationTest < ActiveSupport::TestCase end def test_case_when - cased = case 1.day when 1.day then "ok" end + cased = \ + case 1.day + when 1.day + "ok" + end assert_equal cased, "ok" end |