aboutsummaryrefslogtreecommitdiffstats
path: root/test/attributes
diff options
context:
space:
mode:
Diffstat (limited to 'test/attributes')
-rw-r--r--test/attributes/test_attribute.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/attributes/test_attribute.rb b/test/attributes/test_attribute.rb
index f6b73adf6a..928b23ed7b 100644
--- a/test/attributes/test_attribute.rb
+++ b/test/attributes/test_attribute.rb
@@ -996,14 +996,6 @@ module Arel
assert table.able_to_type_cast?
condition.to_sql.must_equal %("foo"."id" = 1 AND "foo"."other_id" = '2')
end
-
- it 'falls back to using the connection adapter for type casting' do
- table = Table.new(:users)
- condition = table["id"].eq("1")
-
- refute table.able_to_type_cast?
- condition.to_sql.must_equal %("users"."id" = 1)
- end
end
end
end