Permalink
Browse files

String interpolation already casts variables to strings

  • Loading branch information...
laserlemon committed Feb 24, 2012
1 parent 6df7e3f commit 91db905afa05bccb474fd4576bbda642784e2db7
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/json_spec/matchers/have_json_type.rb
@@ -30,7 +30,7 @@ def failure_message_for_should_not
end
def description
- message = %(have JSON type "#{@klass.to_s}")
+ message = %(have JSON type "#{@klass}")
message << %( at path "#{@path}") if @path
message
end

0 comments on commit 91db905

Please sign in to comment.