From dc54be992ba2915ea2b185611ff2107b8946c304 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Sun, 21 Apr 2013 08:54:32 +1000 Subject: [PATCH] Require spree support file that provides a default shipping method for ProductDistributions when building from factory - fixes product seeds --- db/seeds.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/seeds.rb b/db/seeds.rb index dd6be815e2..574ebeeb40 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -2,6 +2,7 @@ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). require File.expand_path('../../spec/factories', __FILE__) +require File.expand_path('../../spec/support/spree/init', __FILE__) # -- Spree