spec/support/bolt_configuration.rb in solidus_bolt-0.4.0 vs spec/support/bolt_configuration.rb in solidus_bolt-0.5.0
- old
+ new
@@ -5,10 +5,10 @@
solidus_bolt_configuration = SolidusBolt::BoltConfiguration.fetch
solidus_bolt_configuration.environment = 'sandbox'
solidus_bolt_configuration.api_key = ENV['BOLT_API_KEY']
solidus_bolt_configuration.signing_secret = ENV['BOLT_SIGNING_SECRET']
- solidus_bolt_configuration.publishable_key = ENV['BOLT_PUBLISHABLE_KEY']
+ solidus_bolt_configuration.publishable_key = ENV['BOLT_PUBLISHABLE_KEY'] || 'abc.def.ghi'
solidus_bolt_configuration.save!
allow(SolidusBolt::BaseService).to receive(:generate_nonce).and_return('fakenonce')
allow(SolidusBolt::BoltHelper).to receive(:nonce).and_return('helpernonce')