test/AddRemoveUserTest.rb in rubyfb-0.5.7 vs test/AddRemoveUserTest.rb in rubyfb-0.5.8
- old
+ new
@@ -6,11 +6,10 @@
require 'rubyfb'
include Rubyfb
class AddRemoveUserTest < Test::Unit::TestCase
- CURDIR = "#{Dir.getwd}"
- DB_FILE = "#{CURDIR}#{File::SEPARATOR}add_remove_user_unit_test.fdb"
+ DB_FILE = File.join(DB_DIR, "add_remove_user_unit_test.fdb")
def setup
puts "#{self.class.name} started." if TEST_LOGGING
# Remove existing database files.
@database = Database.new(DB_FILE)