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:
parent
7238f0b68d
commit
898823f826
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ describe Pry::WrappedModule do
|
||||||
|
|
||||||
it 'should return the location of the outer module if an inner module has methods' do
|
it 'should return the location of the outer module if an inner module has methods' do
|
||||||
wm = Pry::WrappedModule(Host::ForeverAlone)
|
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
|
end
|
||||||
|
|
||||||
it 'should return nil if no source_location can be found' do
|
it 'should return nil if no source_location can be found' do
|
||||||
|
|
Loading…
Reference in a new issue