summaryrefslogtreecommitdiff
path: root/spec/features/projects/jobs_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-27 13:34:30 +0100
committerPhil Hughes <me@iamphill.com>2017-09-27 13:34:30 +0100
commit15b976c6141424d891e304d13be0a126c5e1265b (patch)
tree84860713ab372404d1f372999ccefc2983c9f1a8 /spec/features/projects/jobs_spec.rb
parent1ec2486c83c55042caf1f8006187f6abde0056a4 (diff)
downloadgitlab-ce-15b976c6141424d891e304d13be0a126c5e1265b.tar.gz
some fixes in spec/features/projects/jobs_spec.rb
not sure how to fix the ones with headers :thinking:
Diffstat (limited to 'spec/features/projects/jobs_spec.rb')
-rw-r--r--spec/features/projects/jobs_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index 4848159c1f7..a0d36203366 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -380,7 +380,6 @@ feature 'Jobs' do
end
it 'loads the page and shows all needed controls' do
- expect(page.status_code).to eq(200)
expect(page).to have_content 'Retry'
end
end
@@ -396,7 +395,6 @@ feature 'Jobs' do
end
it 'shows the right status and buttons', :js do
- expect(page).to have_http_status(200)
page.within('aside.right-sidebar') do
expect(page).to have_content 'Cancel'
end
@@ -450,7 +448,6 @@ feature 'Jobs' do
end
it 'sends the right headers' do
- expect(page.status_code).to eq(200)
expect(page.response_headers['Content-Type']).to eq('text/plain; charset=utf-8')
expect(page.response_headers['X-Sendfile']).to eq(job.trace.send(:current_path))
end
@@ -490,7 +487,6 @@ feature 'Jobs' do
end
it 'sends the right headers' do
- expect(page.status_code).to eq(200)
expect(page.response_headers['Content-Type']).to eq('text/plain; charset=utf-8')
expect(page.response_headers['X-Sendfile']).to eq(existing_file)
end