summaryrefslogtreecommitdiff
path: root/spec/jobs
diff options
context:
space:
mode:
authorBrendan Deere <brendan@stembolt.com>2017-01-10 12:53:43 -0800
committerBrendan Deere <brendan@stembolt.com>2017-01-12 16:33:09 -0800
commit55071e2f4b7f882aab0857362c5e6826aa48343d (patch)
tree2c797cc9d889f6c8c320d4513a15ff414074108b /spec/jobs
parentaac6e123441e48c38c7d4bd3450705db427c2a94 (diff)
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.
Diffstat (limited to 'spec/jobs')
-rw-r--r--spec/jobs/solidus_subscriptions/process_installments_job_spec.rb2
1 files changed, 1 insertions, 1 deletions
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