test/RowTest.rb in rubyfb-0.5.7 vs test/RowTest.rb in rubyfb-0.5.8
- old
+ new
@@ -6,11 +6,10 @@
require 'rubyfb'
include Rubyfb
class RowTest < Test::Unit::TestCase
- CURDIR = "#{Dir.getwd}"
- DB_FILE = "#{CURDIR}#{File::SEPARATOR}row_unit_test.fdb"
+ DB_FILE = File.join(DB_DIR, "row_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)