diff --git a/spec/isolation/readline_spec.rb b/spec/isolation/readline_spec.rb index 0b1478a9..7f5fb79f 100644 --- a/spec/isolation/readline_spec.rb +++ b/spec/isolation/readline_spec.rb @@ -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