Fix warning: `&' interpreted as argument prefix

This commit is contained in:
Zuger Cédric 2016-05-20 10:53:28 +02:00 committed by Joshua Clayton
parent 1e9d0351c8
commit 330646ac15
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ module FactoryGirl
def error_message
lines = invalid_factories.map do |_factory, exceptions|
exceptions.map &:message
exceptions.map(&:message)
end.flatten
<<-ERROR_MESSAGE.strip