test/GeneratorTest.rb in rubyfb-0.5.7 vs test/GeneratorTest.rb in rubyfb-0.5.8

- old
+ new

@@ -6,11 +6,10 @@ require 'rubyfb' include Rubyfb class GeneratorTest < Test::Unit::TestCase - CURDIR = "#{Dir.getwd}" - DB_FILE = "#{CURDIR}#{File::SEPARATOR}generator_unit_test.fdb" + DB_FILE = File.join(DB_DIR, "generator_unit_test.fdb") def setup puts "#{self.class.name} started." if TEST_LOGGING if File::exist?(DB_FILE) Database.new(DB_FILE).drop(DB_USER_NAME, DB_PASSWORD)