Commit 7a6aab54 authored by Sean McGivern's avatar Sean McGivern Committed by Kerri Miller

Fixing typos in spec descriptions

parent a38ecbc1
...@@ -75,13 +75,13 @@ RSpec.describe UpdateAllMirrorsWorker do ...@@ -75,13 +75,13 @@ RSpec.describe UpdateAllMirrorsWorker do
worker.perform worker.perform
end end
it 'cleans up finished ProjectImportSchduleWorker jobs' do it 'cleans up finished ProjectImportScheduleWorker jobs' do
worker.perform worker.perform
expect(job_tracker_instance).to have_received(:clean_up).once expect(job_tracker_instance).to have_received(:clean_up).once
end end
it 'waits until all ProjectImportSchduleWorker jobs to complete' do it 'waits until all ProjectImportScheduleWorker jobs to complete' do
worker.perform worker.perform
expect(job_tracker_instance).to have_received(:count).exactly(3).times expect(job_tracker_instance).to have_received(:count).exactly(3).times
...@@ -124,7 +124,7 @@ RSpec.describe UpdateAllMirrorsWorker do ...@@ -124,7 +124,7 @@ RSpec.describe UpdateAllMirrorsWorker do
worker.perform worker.perform
end end
it 'does not poll for ProjectImportSchduleWorker jobs to complete' do it 'does not poll for ProjectImportScheduleWorker jobs to complete' do
expect_next_instance_of(LimitedCapacity::JobTracker) do |instance| expect_next_instance_of(LimitedCapacity::JobTracker) do |instance|
expect(instance).not_to receive(:count) expect(instance).not_to receive(:count)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment