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
1 changed files with 1 additions and 1 deletions

View File

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