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