test/RoleTest.rb in rubyfb-0.5.9 vs test/RoleTest.rb in rubyfb-0.6

- old
+ new

@@ -50,20 +50,20 @@ cxn.close cxn = @database.connect('user1', 'password') assert_raise FireRubyException do t1 = cxn.start_transaction - r = ResultSet.new(cxn, t1, "select * from test", 3, nil) + r = cxn.execute("select * from test", t1) r.fetch r.close t1.commit end cxn.close cxn = @database.connect('user1', 'password', {Connection::SQL_ROLE_NAME => "myrole"}) assert_nothing_raised do t1 = cxn.start_transaction - r = ResultSet.new(cxn, t1, "select * from test", 3, nil) + r = cxn.execute("select * from test", t1) r.fetch r.close t1.commit end cxn.close