Browse files

Fixed the pretty_key output of the set_the_flash matcher

  • Loading branch information...
1 parent 04ce177 commit ddcd0f5e7d6218957881162e10297be3566704b9 @rmm5t rmm5t committed Oct 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb
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

0 comments on commit ddcd0f5

Please sign in to comment.