summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/spec_bacon.rb2
-rw-r--r--test/spec_should.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb
index 2d068bc..b1360be 100644
--- a/test/spec_bacon.rb
+++ b/test/spec_bacon.rb
@@ -1,5 +1,5 @@
 $-w,w = nil, $-w
-require File.join(File.dirname(__FILE__), '../lib/bacon')
+require File.expand_path('../../lib/bacon', __FILE__)
 $-w = w
 
 # Hooray for meta-testing.
diff --git a/test/spec_should.rb b/test/spec_should.rb
index 30cf36a..4986aa2 100644
--- a/test/spec_should.rb
+++ b/test/spec_should.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '../lib/bacon')
+require File.expand_path('../../lib/bacon', __FILE__)
 
 describe "#should shortcut for #it('should')" do