Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed the pretty_key output of the set_the_flash matcher

  • Loading branch information...
commit ddcd0f5e7d6218957881162e10297be3566704b9 1 parent 04ce177
@rmm5t rmm5t authored
View
2  lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb
@@ -137,7 +137,7 @@ def pretty_now
def pretty_key
if @options[:key]
- "[:#{@key}]"
+ "[:#{@options[:key]}]"
else
""
end
Please sign in to comment.
Something went wrong with that request. Please try again.