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:
parent
be5050a4e1
commit
b4d805f63b
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue