From 1e34ed7d82f8b6ee37be96fcbca259aafb671018 Mon Sep 17 00:00:00 2001 From: karanarora Date: Thu, 14 May 2015 04:13:33 +0530 Subject: remove redundant parenthesis --- activerecord/test/cases/type/integer_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/cases') 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 -- cgit v1.2.3