Commit 308ee38a authored by Nick Thomas's avatar Nick Thomas

Remove two failing EE-only specs from spec/features/projects/jobs_spec.rb

parent 1463ae85
......@@ -374,16 +374,6 @@ feature 'Jobs', :feature do
expect(page).to have_content 'Retry'
end
end
context "Job from other project" do
before do
job.run!
visit namespace_project_job_path(project.namespace, project, job)
page.driver.post(cancel_namespace_project_job_path(project.namespace, project, job2))
end
it { expect(page.status_code).to eq(404) }
end
end
describe "POST /:project/jobs/:id/retry" do
......@@ -405,17 +395,6 @@ feature 'Jobs', :feature do
end
end
context "Job from other project" do
before do
job.run!
visit namespace_project_job_path(project.namespace, project, job)
find('.js-cancel-job').click()
page.driver.post(retry_namespace_project_job_path(project.namespace, project, job2))
end
it { expect(page).to have_http_status(404) }
end
context "Job that current user is not allowed to retry" do
before do
job.run!
......
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