Skip to content

Commit

Permalink
String interpolation already casts variables to strings
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon committed Feb 24, 2012
1 parent 6df7e3f commit 91db905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/json_spec/matchers/have_json_type.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def failure_message_for_should_not
end end


def description def description
message = %(have JSON type "#{@klass.to_s}") message = %(have JSON type "#{@klass}")
message << %( at path "#{@path}") if @path message << %( at path "#{@path}") if @path
message message
end end
Expand Down

0 comments on commit 91db905

Please sign in to comment.