1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Eliminate test failure

This commit is contained in:
Ryan Fitzgerald 2012-06-26 22:34:13 -07:00
parent e14ee9a6f4
commit e1d78de7f1

View file

@ -356,11 +356,6 @@ describe "test Pry defaults" do
describe 'toplevel_binding' do describe 'toplevel_binding' do
it 'should be devoid of local variables' do it 'should be devoid of local variables' do
mock_pry(Pry.toplevel_binding, "ls -l").should.not =~ /version/ mock_pry(Pry.toplevel_binding, "ls -l").should.not =~ /version/
# https://github.com/rubinius/rubinius/issues/357
unless Pry::Helpers::BaseHelpers.rbx? || Pry::Helpers::BaseHelpers.jruby?
mock_pry(TOPLEVEL_BINDING, "ls -l").should =~ /version/
end
end end
it 'should have self the same as TOPLEVEL_BINDING' do it 'should have self the same as TOPLEVEL_BINDING' do