Permalink
Browse files

Fix test_helper getting loaded multiple times

  • Loading branch information...
1 parent d4f73a3 commit 0bce6504f32472b9d7ad18b350d2f35007b37c67 @obrie obrie committed Mar 7, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/unit/address_test.rb
  2. +1 −1 test/unit/country_test.rb
  3. +1 −1 test/unit/region_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/../test_helper"
+require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class AddressByDefaultTest < ActiveRecord::TestCase
def setup
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/../test_helper"
+require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class CountryByDefaultTest < ActiveRecord::TestCase
def setup
View
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/../test_helper"
+require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class RegionByDefaultTest < ActiveRecord::TestCase
def setup

0 comments on commit 0bce650

Please sign in to comment.