diff --git a/bin/release/extract-pipeline-context b/bin/release/extract-pipeline-context index 51929afc9b1..d20be060343 100755 --- a/bin/release/extract-pipeline-context +++ b/bin/release/extract-pipeline-context @@ -36,6 +36,7 @@ context_hash = { } warn "~~> Generating context..." -context_hash.each { |k, v| warn "#{k}=#{v}" } - -context_hash.each { |k, v| puts "#{k}=#{v}" } +context_hash.each { |k, v| + warn "#{k}=#{v}" + puts "#{k}=#{v}" +} 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",