Skip to content

Commit

Permalink
Always dump Strings, never try quoting them.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jan 31, 2013
1 parent 0739e08 commit c91cdfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/support/paths.rb
Expand Up @@ -31,7 +31,7 @@ def path_to(page_name)
path_components = $1.split(/\s+/)
self.send(path_components.push('path').join('_').to_sym)
rescue NoMethodError, ArgumentError
raise "Can't find mapping from \"#{page_name}\" to a path.\n" +
raise "Can't find mapping from #{page_name.dump} to a path.\n" +
"Now, go and add a mapping in #{__FILE__}"
end
end
Expand Down
2 changes: 1 addition & 1 deletion features/support/selectors.rb
Expand Up @@ -30,7 +30,7 @@ def selector_for(locator)
$1

else
raise "Can't find mapping from \"#{locator}\" to a selector.\n" +
raise "Can't find mapping from #{locator.dump} to a selector.\n" +
"Now, go and add a mapping in #{__FILE__}"
end
end
Expand Down

0 comments on commit c91cdfd

Please sign in to comment.