diff --git a/lib/cranky/factory.rb b/lib/cranky/factory.rb index 4c6cd2c..78556f1 100644 --- a/lib/cranky/factory.rb +++ b/lib/cranky/factory.rb @@ -24,7 +24,7 @@ def create(what, overrides={}) def create!(what, overrides={}) item = build(what, overrides) - Array(item).each(&:save!) + Array(item).each { |i| i.save!(validate: false) } item end