test/RowCountTest.rb in rubyfb-0.5.7 vs test/RowCountTest.rb in rubyfb-0.5.8
- old
+ new
@@ -6,11 +6,10 @@
require 'rubyfb'
include Rubyfb
class RowCountTest < Test::Unit::TestCase
- CURDIR = "#{Dir.getwd}"
- DB_FILE = "#{CURDIR}#{File::SEPARATOR}row_count_test.fdb"
+ DB_FILE = File.join(DB_DIR, "row_count_test.fdb")
def setup
puts "#{self.class.name} started." if TEST_LOGGING
# Create the database for use in testing.
if File.exist?(DB_FILE)