diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/tc_integration.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tc_integration.rb b/test/tc_integration.rb index 2dd6016..948e833 100644 --- a/test/tc_integration.rb +++ b/test/tc_integration.rb @@ -587,6 +587,12 @@ module Integration value = @db.get_first_value( "select multiply(a) from foo" ) assert_equal "6", value end + + define_method( "test_bind_array_parameter" ) do + result = @db.get_first_value( "select b from foo where a=? and b=?", + [ 1, "foo" ] ) + assert_equal "foo", result + end end const_set( "TC_Database_#{driver}", test_case ) |
