From f8e5370b0bf2cfe5c6532c264836c16bc0a4b64f Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Thu, 13 May 2021 23:02:23 +0100 Subject: [PATCH] Replace update_attributes with update --- spec/features/admin/subscriptions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/subscriptions_spec.rb b/spec/features/admin/subscriptions_spec.rb index 0059c7692e..efbc500fb4 100644 --- a/spec/features/admin/subscriptions_spec.rb +++ b/spec/features/admin/subscriptions_spec.rb @@ -487,7 +487,7 @@ feature 'Subscriptions' do end it "permit creating and editing of the subscription" do - customer.update_attributes(allow_charges: true) + customer.update(allow_charges: true) # Fill in other details fill_in_subscription_basic_details click_button "Next"