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

Upload adjusted tests that were missed in last commit.

This commit is contained in:
Jordon Bedwell 2012-04-01 04:10:46 -05:00
parent 8f50bc3112
commit 96caaba42e

View file

@ -444,8 +444,8 @@ describe Pry do
str_output.string.should =~ /20/
end
it "should error if more than one argument is passed to Object#pry" do
lambda { pry(20, :input => Readline) }.should.raise ArgumentError
it "should raise if more than two arguments are passed to Object#pry" do
lambda { pry(20, :quiet, :input => Readline) }.should.raise ArgumentError
end
end