diff options
Diffstat (limited to 'spec/services/groups/create_service_spec.rb')
-rw-r--r-- | spec/services/groups/create_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/groups/create_service_spec.rb b/spec/services/groups/create_service_spec.rb index 0cfde9ef434..0a8164c9ca3 100644 --- a/spec/services/groups/create_service_spec.rb +++ b/spec/services/groups/create_service_spec.rb @@ -79,7 +79,7 @@ RSpec.describe Groups::CreateService, '#execute' do it { is_expected.to be_persisted } it 'adds an onboarding progress record' do - expect { subject }.to change(OnboardingProgress, :count).from(0).to(1) + expect { subject }.to change(Onboarding::Progress, :count).from(0).to(1) end context 'with before_commit callback' do @@ -108,7 +108,7 @@ RSpec.describe Groups::CreateService, '#execute' do it { is_expected.to be_persisted } it 'does not add an onboarding progress record' do - expect { subject }.not_to change(OnboardingProgress, :count).from(0) + expect { subject }.not_to change(Onboarding::Progress, :count).from(0) end it_behaves_like 'has sync-ed traversal_ids' |