diff --git a/spec/commands/cd_spec.rb b/spec/commands/cd_spec.rb index c4a0d716..a59b01fb 100644 --- a/spec/commands/cd_spec.rb +++ b/spec/commands/cd_spec.rb @@ -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 == []