Fixed the pretty_key output of the set_the_flash matcher
This commit is contained in:
parent
04ce17726d
commit
ddcd0f5e7d
|
@ -137,7 +137,7 @@ module Shoulda # :nodoc:
|
|||
|
||||
def pretty_key
|
||||
if @options[:key]
|
||||
"[:#{@key}]"
|
||||
"[:#{@options[:key]}]"
|
||||
else
|
||||
""
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue