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:
parent
b480fd5b1e
commit
c316d76c06
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue