Fix ivar leakage

This commit is contained in:
Ryan Fitzgerald 2012-12-23 18:22:58 -08:00
parent 00c2fc935d
commit 0e1ae0fe9f
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ describe "commands" do
end
it 'should run a command in the context of a session' do
pry_tester.tap do |t|
pry_tester(Object.new).tap do |t|
t.eval "@session_ivar = 10", "_pry_.run_command('ls')"
t.last_output.should =~ /@session_ivar/
end