fix top-level prompt test for 1.8

This commit is contained in:
Ryan Fitzgerald 2011-09-09 00:29:24 -07:00
parent 464d0991b2
commit 4bbf3d602b
1 changed files with 2 additions and 2 deletions

View File

@ -1136,9 +1136,9 @@ describe Pry do
end
describe "given the 'main' object" do
it "returns the #inspect of main (special case)" do
it "returns the #to_s of main (special case)" do
o = TOPLEVEL_BINDING.eval('self')
Pry.view_clip(o, VC_MAX_LENGTH).should == o.inspect
Pry.view_clip(o, VC_MAX_LENGTH).should == o.to_s
end
end