Skip to content
Browse files

Fixed incompatibility with 1.9.2.

  • Loading branch information...
1 parent dcbb04e commit 1455704b9af2f7ae15831519ef21067ea96a6163 @ngty committed
View
2 spec/integration/clearing_instance_stubs_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), 'shared_spec')
+require File.join(File.expand_path(File.dirname(__FILE__)), 'shared_spec')
describe 'Clearing Instance Stubs' do
View
2 spec/integration/clearing_stubs_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), 'shared_spec')
+require File.join(File.expand_path(File.dirname(__FILE__)), 'shared_spec')
describe 'Clearing Stubs' do
View
2 spec/integration/creating_instance_stubs_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), 'shared_spec')
+require File.join(File.expand_path(File.dirname(__FILE__)), 'shared_spec')
describe 'Creating Instance Stubs' do
View
2 spec/integration/creating_stubs_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), 'shared_spec')
+require File.join(File.expand_path(File.dirname(__FILE__)), 'shared_spec')
describe 'Creating Stubs' do
View
4 spec/integration/shared_spec.rb
@@ -1,5 +1,5 @@
-require File.join(File.dirname(__FILE__), '..', 'spec_helper')
-require File.join(File.dirname(__FILE__), '..', 'includes')
+require File.join(File.expand_path(File.dirname(__FILE__)), '..', 'spec_helper')
+require File.join(File.expand_path(File.dirname(__FILE__)), '..', 'includes')
shared 'has standard setup' do
before { CrossStub.setup(cache_store(@store_type)) }
View
2 spec/integration/stubbing_error_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), 'shared_spec')
+require File.join(File.expand_path(File.dirname(__FILE__)), 'shared_spec')
describe 'Stubbing Error' do

0 comments on commit 1455704

Please sign in to comment.
Something went wrong with that request. Please try again.