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

Remove unecessary eval's from cd_spec

This commit is contained in:
Jason Laster 2013-12-07 21:23:51 -05:00
parent 235203b11f
commit e833b00101

View file

@ -13,15 +13,15 @@ describe 'cd' do
end
def binding_stack
eval '_pry_.binding_stack.dup'
pry.binding_stack.dup
end
def command_state
eval '_pry_.command_state["cd"]'
pry.command_state["cd"]
end
def old_stack
eval '_pry_.command_state["cd"].old_stack.dup'
pry.command_state['cd'].old_stack.dup
end
end
end