Browse files

expanding path.

  • Loading branch information...
1 parent 1764412 commit 3d1546622adcd3b85193684f3f3e401832ee9650 Brian Takita committed Oct 30, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 spec/core_spec_suite.rb
  2. +1 −1 spec/rspec_spec_suite.rb
  3. +1 −1 spec/test_unit_spec_suite.rb
View
2 spec/core_spec_suite.rb
@@ -8,7 +8,7 @@ def run
files.delete_if {|file| file.include?('test_unit/')}
puts "Running Rspec Example Suite"
files.each do |file|
- require file
+ require File.expand_path(file)
# puts "require '#{file}'"
end
end
View
2 spec/rspec_spec_suite.rb
@@ -7,7 +7,7 @@ def run
dir = File.dirname(__FILE__)
Dir["#{dir}/rr/rspec/**/*_spec.rb"].each do |file|
# puts "require '#{file}'"
- require file
+ require File.expand_path(file)
end
end
end
View
2 spec/test_unit_spec_suite.rb
@@ -11,7 +11,7 @@ def run
def require_tests
dir = File.dirname(__FILE__)
Dir["#{dir}/rr/test_unit/**/*_test.rb"].each do |file|
- require file
+ require File.expand_path(file)
end
end
end

0 comments on commit 3d15466

Please sign in to comment.