summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-12 23:01:24 -0700
committerStan Hu <stanhu@gmail.com>2017-08-12 23:01:24 -0700
commit1ddfe8ca33ab2ccd7badc5ef52ea7d88da46b32f (patch)
tree59f72c6fefd434e12534982ce1053889c2f6c89b /spec/features
parentf64f06f6516bea10a0ac738c21961db033daa978 (diff)
downloadgitlab-ce-1ddfe8ca33ab2ccd7badc5ef52ea7d88da46b32f.tar.gz
Remove a few HTTP status checks as these are not supported in Selenium
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/environments/environment_spec.rb1
-rw-r--r--spec/features/projects/pipelines/pipelines_spec.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/spec/features/projects/environments/environment_spec.rb b/spec/features/projects/environments/environment_spec.rb
index 56addd64056..c9f12e877b3 100644
--- a/spec/features/projects/environments/environment_spec.rb
+++ b/spec/features/projects/environments/environment_spec.rb
@@ -198,7 +198,6 @@ feature 'Environment' do
end
it 'renders a correct environment folder' do
- expect(page).to have_http_status(:ok)
expect(page).to have_content('Environments / staging-1.0')
end
end
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb
index 92479558553..b6a66a6d0c8 100644
--- a/spec/features/projects/pipelines/pipelines_spec.rb
+++ b/spec/features/projects/pipelines/pipelines_spec.rb
@@ -515,7 +515,6 @@ describe 'Pipelines', :js do
let(:project) { create(:project, :public, :repository) }
it { expect(page).to have_content 'Build with confidence' }
- it { expect(page).to have_http_status(:success) }
end
context 'when project is private' do