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

Fix spec w/r/t 2.0 changing behavior of @

This commit is contained in:
Ryan Fitzgerald 2013-07-26 16:31:33 -07:00
parent b7969d1daf
commit b460170039

View file

@ -45,7 +45,7 @@ describe 'cd' do
describe 'when an error was raised' do describe 'when an error was raised' do
it 'should not toggle and should keep correct stacks' do it 'should not toggle and should keep correct stacks' do
proc { proc {
@t.eval 'cd @' @t.eval 'cd %'
}.should.raise(Pry::CommandError) }.should.raise(Pry::CommandError)
@t.old_stack.should == [] @t.old_stack.should == []