1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Fix 1.8.7 specs

This commit is contained in:
Conrad Irwin 2013-04-07 21:01:47 -07:00
parent 7238f0b68d
commit 898823f826

View file

@ -79,7 +79,7 @@ describe Pry::WrappedModule do
it 'should return the location of the outer module if an inner module has methods' do
wm = Pry::WrappedModule(Host::ForeverAlone)
wm.source_location.should == [__FILE__, Host::FOREVER_ALONE_LINE]
wm.source_location.should == [File.expand_path(__FILE__), Host::FOREVER_ALONE_LINE]
end
it 'should return nil if no source_location can be found' do