Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test typecasting on instance rather than class itself

  • Loading branch information...
commit 91d7b6fc11ec64a8e29c43cb576e497792dd68fa 1 parent 2b6e305
@akshay-vishnoi akshay-vishnoi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/adapters/sqlite3/quoting_test.rb
View
2  activerecord/test/cases/adapters/sqlite3/quoting_test.rb
@@ -100,7 +100,7 @@ def id
def quoted_id
"'zomg'"
end
- }
+ }.new
assert_raise(TypeError) { @conn.type_cast(quoted_id_obj, nil) }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.