diff --git a/core/lib/spree/testing_support/common_rake.rb b/core/lib/spree/testing_support/common_rake.rb index 02976918685..442cfda8b14 100644 --- a/core/lib/spree/testing_support/common_rake.rb +++ b/core/lib/spree/testing_support/common_rake.rb @@ -31,6 +31,7 @@ def initialize 'solidus:install', Dir.pwd, # use the current dir as Rails.root "--auto-accept", + "--admin-preview=#{ENV.fetch('ADMIN_PREVIEW', 'false')}", "--authentication=none", "--payment-method=none", "--migrate=false",