Commit b1d1c02d authored by Sean Arnold's avatar Sean Arnold

Update project usage in spec

parent 0d80cfb5
......@@ -3,7 +3,7 @@
require 'spec_helper'
RSpec.describe AlertManagement::ProcessPrometheusAlertService do
let_it_be(:project) { create(:project) }
let_it_be(:project) { create(:project, :repository) }
before do
allow(ProjectServiceWorker).to receive(:perform_async)
......@@ -146,7 +146,6 @@ RSpec.describe AlertManagement::ProcessPrometheusAlertService do
end
context 'environment given' do
let(:project) { create(:project, :repository) }
let(:environment) { create(:environment, project: project) }
it 'sets the environment' do
......
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