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

Fix all ruby version not mentioned in previous two commits

This commit is contained in:
Conrad Irwin 2013-04-07 21:18:59 -07:00
parent b480fd5b1e
commit c316d76c06

View file

@ -79,7 +79,8 @@ 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.expand_path(__FILE__), Host::FOREVER_ALONE_LINE]
File.expand_path(wm.source_location.first).should == File.expand_path(__FILE__)
wm.source_location.last.should == Host::FOREVER_ALONE_LINE
end
it 'should return nil if no source_location can be found' do