Fixed the pretty_key output of the set_the_flash matcher

This commit is contained in:
Ryan McGeary 2012-10-02 00:06:27 -04:00
parent 04ce17726d
commit ddcd0f5e7d
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ module Shoulda # :nodoc:
def pretty_key
if @options[:key]
"[:#{@key}]"
"[:#{@options[:key]}]"
else
""
end