Permalink
Browse files

Make a spec on MacRuby green

  • Loading branch information...
1 parent a4ae686 commit ee35b7726a48c036e78623f111353ef2b8294a38 @alloy committed Jul 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/formatter_spec.rb
View
@@ -69,7 +69,7 @@ def object.pretty_inspect; "foo"; end
def object.inspect; @inspected = true; "Never called!"; end
def object.__id__; 2158110700; end
- @formatter.result(object).should == "=> #<Object:0x101444fd8>"
+ @formatter.result(object).should == "=> #<#{object.class.name}:0x101444fd8>"
object.instance_variable_get(:@inspected).should_not == true
end

0 comments on commit ee35b77

Please sign in to comment.