Commit ea0a31dc authored by James Lopez's avatar James Lopez

attempt to fix spec

parent f1826bcf
......@@ -76,9 +76,9 @@ describe Projects::PropagateServiceTemplate, services: true do
stub_const 'Projects::PropagateServiceTemplate::BATCH_SIZE', 3
project_total.times { create(:empty_project) }
expect { described_class.propagate(service_template) }.
to change { Service.count }.by(project_total + 1)
to change { Service.all.reload.count }.by(project_total + 1)
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