Sha256: c0ba65405227e0861e99decd2750a79b6595caefb1015cba25d9f32f1200d308
Contents?: true
Size: 451 Bytes
Versions: 5
Compression:
Stored size: 451 Bytes
Contents
require 'spec_helper' 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
5 entries across 5 versions & 2 rubygems