diff options
Diffstat (limited to 'spec/services/onboarding')
-rw-r--r-- | spec/services/onboarding/progress_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/onboarding/progress_service_spec.rb b/spec/services/onboarding/progress_service_spec.rb index e9b8ea2e859..8f3f723613e 100644 --- a/spec/services/onboarding/progress_service_spec.rb +++ b/spec/services/onboarding/progress_service_spec.rb @@ -11,7 +11,7 @@ RSpec.describe Onboarding::ProgressService do context 'when not onboarded' do it 'does not schedule a worker' do - expect(Namespaces::OnboardingProgressWorker).not_to receive(:perform_async) + expect(Onboarding::ProgressWorker).not_to receive(:perform_async) execute_service end @@ -28,7 +28,7 @@ RSpec.describe Onboarding::ProgressService do end it 'does not schedule a worker' do - expect(Namespaces::OnboardingProgressWorker).not_to receive(:perform_async) + expect(Onboarding::ProgressWorker).not_to receive(:perform_async) execute_service end @@ -36,7 +36,7 @@ RSpec.describe Onboarding::ProgressService do context 'when action is not yet completed' do it 'schedules a worker' do - expect(Namespaces::OnboardingProgressWorker).to receive(:perform_async) + expect(Onboarding::ProgressWorker).to receive(:perform_async) execute_service end |