diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-05 00:40:24 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-05 00:40:24 -0500 |
commit | 209bfc0a5c6416bcba8a90e87159234d72f3e561 (patch) | |
tree | e13b3c019335f85204ebb15ac5e779249f15b850 /activesupport/test | |
parent | 46bb76acadc132de0344166db223be5f3fcd5426 (diff) | |
download | rails-209bfc0a5c6416bcba8a90e87159234d72f3e561.tar.gz rails-209bfc0a5c6416bcba8a90e87159234d72f3e561.tar.bz2 rails-209bfc0a5c6416bcba8a90e87159234d72f3e561.zip |
Fix style guide violations
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/object/duplicable_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/duplicable_test.rb b/activesupport/test/core_ext/object/duplicable_test.rb index fb140a5b76..466f62a4b4 100644 --- a/activesupport/test/core_ext/object/duplicable_test.rb +++ b/activesupport/test/core_ext/object/duplicable_test.rb @@ -5,7 +5,7 @@ require "active_support/core_ext/numeric/time" class DuplicableTest < ActiveSupport::TestCase if RUBY_VERSION >= "2.4.0" - RAISE_DUP = [method(:puts), Complex(1), Rational(1), 'symbol_from_string'.to_sym] + RAISE_DUP = [method(:puts), Complex(1), Rational(1), "symbol_from_string".to_sym] ALLOW_DUP = ["1", Object.new, /foo/, [], {}, Time.now, Class.new, Module.new, BigDecimal.new("4.56"), nil, false, true, 1, 2.3] else RAISE_DUP = [nil, false, true, :symbol, 1, 2.3, method(:puts), Complex(1), Rational(1)] |