test/TransactionTest.rb in rubyfb-0.5.9 vs test/TransactionTest.rb in rubyfb-0.6
- old
+ new
@@ -94,10 +94,10 @@
sql.push("UPDATE RDB$EXCEPTIONS SET RDB$MESSAGE = 'WoooHooo'"\
"WHERE RDB$EXCEPTION_NAME = 'Lalala'")
sql.push("SELECT * FROM RDB$DATABASE")
@transactions.push(Transaction.new(@connections[0]))
- assert(@transactions[0].execute(sql[0]) == 0)
+ assert_equal(0, @transactions[0].execute(sql[0]))
r = @transactions[0].execute(sql[1])
assert(r != nil)
assert(r.class == ResultSet)
r.close