Commit 346c786d authored by Roger Rüttimann's avatar Roger Rüttimann

remove redundant test

parent 52e1ee29
Pipeline #53479295 failed with stages
in 76 minutes and 32 seconds
......@@ -45,7 +45,7 @@ describe DeleteOrphanedBuildArtifactsWorker do
before do
expect(logger).to receive(:error).with(
"Unable to destroy orphaned build artifacts for Project #{project_to_delete.id}, User #{user.id}"
"Unable to destroy orphaned build artifacts for Project #{project_to_delete.id}, User #{user.id}"
)
subject
......@@ -56,10 +56,6 @@ describe DeleteOrphanedBuildArtifactsWorker do
expect(job_master.job_artifacts.size).to eq 2
expect(job_master.job_artifacts.size).to eq 2
end
it 'logs error' do
subject
end
end
context 'without project' 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