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

confirm 'Readline' is made available on Pry.start().

This commit is contained in:
Robert Gleeson 2014-02-03 13:46:51 +01:00
parent be5050a4e1
commit b4d805f63b

View file

@ -7,4 +7,11 @@ describe "Readline" do
defined?(Readline).should.be.nil
end
end
describe "on invoke of 'pry'" do
it "is made available" do
Pry.start self, input: StringIO.new("exit-all\n"), output: StringIO.new
defined?(Readline).should == "constant"
end
end
end