Fix warning: `&' interpreted as argument prefix
This commit is contained in:
parent
1e9d0351c8
commit
330646ac15
|
@ -84,7 +84,7 @@ module FactoryGirl
|
||||||
|
|
||||||
def error_message
|
def error_message
|
||||||
lines = invalid_factories.map do |_factory, exceptions|
|
lines = invalid_factories.map do |_factory, exceptions|
|
||||||
exceptions.map &:message
|
exceptions.map(&:message)
|
||||||
end.flatten
|
end.flatten
|
||||||
|
|
||||||
<<-ERROR_MESSAGE.strip
|
<<-ERROR_MESSAGE.strip
|
||||||
|
|
Loading…
Reference in New Issue