From 4bbf3d602b30fd42e8e9fec6f791e5d30c839cd4 Mon Sep 17 00:00:00 2001 From: Ryan Fitzgerald Date: Fri, 9 Sep 2011 00:29:24 -0700 Subject: [PATCH] fix top-level prompt test for 1.8 --- test/test_pry.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_pry.rb b/test/test_pry.rb index b6d19b3c..92baa3c2 100644 --- a/test/test_pry.rb +++ b/test/test_pry.rb @@ -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