spec/requests/spree/admin/bolt_spec.rb in solidus_bolt-0.0.1 vs spec/requests/spree/admin/bolt_spec.rb in solidus_bolt-0.1.0
- old
+ new
@@ -3,11 +3,10 @@
RSpec.describe "Spree::Admin::Bolts", type: :request do
stub_authorization!
let(:bolt_configuration_params) {
{
- bearer_token: SecureRandom.hex,
environment: 'sandbox',
merchant_public_id: SecureRandom.hex,
division_public_id: SecureRandom.hex,
api_key: SecureRandom.hex,
signing_secret: SecureRandom.hex,
@@ -54,10 +53,9 @@
it 'successfully updates the bolt configuration' do
request
updated_attributes = SolidusBolt::BoltConfiguration.fetch.attributes.slice(
- 'bearer_token',
'environment',
'merchant_public_id',
'division_public_id',
'api_key',
'signing_secret',