Permalink
Browse files

Use .inspect on hashes in descriptions for Ruby 1.8.7.

- #473.
  • Loading branch information...
1 parent acfe944 commit df0aa298cecbf95f1be819844b6ddf2c1fc4ff8d @dchelimsky dchelimsky committed Jan 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/rails/matchers/routing_matchers.rb
View
2 lib/rspec/rails/matchers/routing_matchers.rb
@@ -17,7 +17,7 @@ def initialize(scope, *expected)
end
def description
- "route #{@verb_to_path_map} to #{@expected_options}"
+ "route #{@verb_to_path_map.inspect} to #{@expected_options.inspect}"
end
# @api private

0 comments on commit df0aa29

Please sign in to comment.