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,6 +181,8 @@ describe "whereami" do
|
||||||
Object.remove_const(:Horse)
|
Object.remove_const(:Horse)
|
||||||
end
|
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
|
it 'should show class when -c option used, and binding is outside a method' do
|
||||||
class Cor
|
class Cor
|
||||||
def blimey;end
|
def blimey;end
|
||||||
|
@ -192,6 +194,7 @@ describe "whereami" do
|
||||||
Object.remove_const(:Cor)
|
Object.remove_const(:Cor)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
it 'should not show line numbers or marker when -n switch is used' do
|
it 'should not show line numbers or marker when -n switch is used' do
|
||||||
class Cor
|
class Cor
|
||||||
|
|
Loading…
Reference in a new issue