Permalink
Browse files

The path in the test files is still relative.

  • Loading branch information...
1 parent 1f7351a commit f4c0adb2def9cf36b4b7a8ca7c46d6178e4eba89 @kalbasit kalbasit committed Jun 19, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 test/test_faker.rb
  2. +1 −1 test/test_faker_internet.rb
  3. +1 −1 test/test_faker_name.rb
  4. +1 −1 test/test_helper.rb
View
2 test/test_faker.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
+require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb')
class TestFaker < Test::Unit::TestCase
View
2 test/test_faker_internet.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
+require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb')
class TestFakerInternet < Test::Unit::TestCase
View
2 test/test_faker_name.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
+require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb')
class TestFakerName < Test::Unit::TestCase
View
2 test/test_helper.rb
@@ -1,3 +1,3 @@
require 'test/unit'
require 'rubygems'
-require File.dirname(__FILE__) + '/../lib/faker'
+require File.expand_path(File.dirname(__FILE__) + '/../lib/faker')

0 comments on commit f4c0adb

Please sign in to comment.