Sha256: 1b772534950b322c30a403ebf09f02951ec7b0297d7756675290632e61c0653a
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
require 'solidus_braintree_helper' RSpec.describe Spree::Store do describe 'before_create :build_default_configuration' do context 'when a braintree_configuration record already exists' do it 'does not overwrite it' do store = build(:store) custom_braintree_configuration = store.build_braintree_configuration store.save! expect(store.braintree_configuration).to be custom_braintree_configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_braintree-3.0.1 | spec/models/spree/store_spec.rb |
solidus_braintree-3.0.0 | spec/models/spree/store_spec.rb |