Fix warning: `&' interpreted as argument prefix
This commit is contained in:
parent
1e9d0351c8
commit
330646ac15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue