aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-13 20:57:14 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-13 20:57:14 -0300
commit2c7c11d545dff93d91af4555d3babea813ccd3b3 (patch)
tree67fc46b84714e89371e460133eb302d1bef71310 /activerecord
parentc1104a91f620fe30b940532db7e4771f03cb283e (diff)
parent1e34ed7d82f8b6ee37be96fcbca259aafb671018 (diff)
downloadrails-2c7c11d545dff93d91af4555d3babea813ccd3b3.tar.gz
rails-2c7c11d545dff93d91af4555d3babea813ccd3b3.tar.bz2
rails-2c7c11d545dff93d91af4555d3babea813ccd3b3.zip
Merge pull request #20150 from karanarora/Typo-fix
remove redundant parenthesis
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/type/integer_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/type/integer_test.rb b/activerecord/test/cases/type/integer_test.rb
index 84fb05dd8e..0dcdbd0667 100644
--- a/activerecord/test/cases/type/integer_test.rb
+++ b/activerecord/test/cases/type/integer_test.rb
@@ -21,7 +21,7 @@ module ActiveRecord
type = Type::Integer.new
assert_nil type.cast([1,2])
assert_nil type.cast({1 => 2})
- assert_nil type.cast((1..2))
+ assert_nil type.cast(1..2)
end
test "casting ActiveRecord models" do