1
0
Fork 0
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:
Conrad Irwin 2013-03-30 09:12:36 -07:00
parent 290eb40f4c
commit 1af49497ac

View file

@ -181,15 +181,18 @@ describe "whereami" do
Object.remove_const(:Horse) Object.remove_const(:Horse)
end end
it 'should show class when -c option used, and binding is outside a method' do # https://github.com/rubinius/rubinius/pull/2247
class Cor unless Pry::Helpers::BaseHelpers.rbx?
def blimey;end 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 = pry_eval(binding, 'whereami -c')
out.should =~ /class Cor/ out.should =~ /class Cor/
out.should =~ /blimey/ out.should =~ /blimey/
end
Object.remove_const(:Cor)
end end
Object.remove_const(:Cor)
end end
end end