From 55071e2f4b7f882aab0857362c5e6826aa48343d Mon Sep 17 00:00:00 2001 From: Brendan Deere Date: Tue, 10 Jan 2017 12:53:43 -0800 Subject: Rename ConsolidatedInstalment as Checkout Consolidated installment is long and confusing. It also doesn't really describe what the class is doing. Really this is a Checkout class. --- spec/jobs/solidus_subscriptions/process_installments_job_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/jobs') diff --git a/spec/jobs/solidus_subscriptions/process_installments_job_spec.rb b/spec/jobs/solidus_subscriptions/process_installments_job_spec.rb index 56b8b4d..469089a 100644 --- a/spec/jobs/solidus_subscriptions/process_installments_job_spec.rb +++ b/spec/jobs/solidus_subscriptions/process_installments_job_spec.rb @@ -19,7 +19,7 @@ RSpec.describe SolidusSubscriptions::ProcessInstallmentsJob do subject { described_class.new.perform(installments) } it 'processes the consolidated installment' do - expect_any_instance_of(SolidusSubscriptions::ConsolidatedInstallment). + expect_any_instance_of(SolidusSubscriptions::Checkout). to receive(:process).once subject -- cgit v1.2.3