test/SQLTest.rb in rubyfb-0.5.7 vs test/SQLTest.rb in rubyfb-0.5.8
- old
+ new
@@ -6,11 +6,10 @@
require 'rubyfb'
include Rubyfb
class SQLTest < Test::Unit::TestCase
- CURDIR = "#{Dir.getwd}"
- DB_FILE = "#{CURDIR}#{File::SEPARATOR}sql_unit_test.fdb"
+ DB_FILE = File.join(DB_DIR, "sql_unit_test.fdb")
ITERATIONS = 100
INSERT_SQL = "INSERT INTO TEST_TABLE VALUES(?, ?, ?, ?, ?, ?)"
def setup