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

- old
+ new

@@ -20,11 +20,10 @@ $FireRubySettings[:ALIAS_KEYS] = false database = Database::create(DB_FILE, DB_USER_NAME, DB_PASSWORD) @connection = database.connect(DB_USER_NAME, DB_PASSWORD) @transaction = @connection.start_transaction - @results = ResultSet.new(@connection, @transaction, - 'SELECT * FROM RDB$FIELDS', 3, nil) + @results = @connection.execute('SELECT * FROM RDB$FIELDS', @transaction) @empty = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] @connection.execute_immediate('create table keytest (COL01 integer, '\ 'COL02 varchar(10), COL03 integer)')