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

Remove final rep(o)

This commit is contained in:
Conrad Irwin 2012-12-18 00:14:56 -08:00
parent d31967799c
commit 1d818031b8

View file

@ -518,10 +518,9 @@ describe "commands" do
child_klass = Pry::CommandSet.new klass do
end
Pry.new(:print => proc {}, :input => InputTester.new("v"),
:output => @str_output, :commands => child_klass).rep("john")
@str_output.string.rstrip.should == "john"
mock_pry(Pry.binding_for('john'), "v", :print => proc {}, :commands => child_klass,
:output => @str_output)
@str_output.string.should == "john\n"
end
it 'should import commands from another command object' do