diff options
-rw-r--r-- | spec/models/solidus_subscriptions/checkout_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/solidus_subscriptions/checkout_spec.rb b/spec/models/solidus_subscriptions/checkout_spec.rb index e3a6ac0..8e9014d 100644 --- a/spec/models/solidus_subscriptions/checkout_spec.rb +++ b/spec/models/solidus_subscriptions/checkout_spec.rb @@ -26,7 +26,7 @@ RSpec.describe SolidusSubscriptions::Checkout do before do SolidusSubscriptions::Config.default_gateway { payment_method } - Spree::Variant.all.each { |v| v.update_attributes(subscribable: true) } + Spree::Variant.all.each { |v| v.update(subscribable: true) } end context 'initialized with installments belonging to multiple users' do |