Test typecasting on instance rather than class itself
This commit is contained in:
parent
2b6e3051bd
commit
91d7b6fc11
@ -100,7 +100,7 @@ def id
|
||||
def quoted_id
|
||||
"'zomg'"
|
||||
end
|
||||
}
|
||||
}.new
|
||||
assert_raise(TypeError) { @conn.type_cast(quoted_id_obj, nil) }
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user