mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Skip rubinius due to [Issue rubinius/rubinius#2247]
This commit is contained in:
parent
290eb40f4c
commit
1af49497ac
1 changed files with 10 additions and 7 deletions
|
@ -181,15 +181,18 @@ describe "whereami" do
|
|||
Object.remove_const(:Horse)
|
||||
end
|
||||
|
||||
it 'should show class when -c option used, and binding is outside a method' do
|
||||
class Cor
|
||||
def blimey;end
|
||||
# https://github.com/rubinius/rubinius/pull/2247
|
||||
unless Pry::Helpers::BaseHelpers.rbx?
|
||||
it 'should show class when -c option used, and binding is outside a method' do
|
||||
class Cor
|
||||
def blimey;end
|
||||
|
||||
out = pry_eval(binding, 'whereami -c')
|
||||
out.should =~ /class Cor/
|
||||
out.should =~ /blimey/
|
||||
out = pry_eval(binding, 'whereami -c')
|
||||
out.should =~ /class Cor/
|
||||
out.should =~ /blimey/
|
||||
end
|
||||
Object.remove_const(:Cor)
|
||||
end
|
||||
Object.remove_const(:Cor)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue