From 1ddfe8ca33ab2ccd7badc5ef52ea7d88da46b32f Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sat, 12 Aug 2017 23:01:24 -0700 Subject: Remove a few HTTP status checks as these are not supported in Selenium --- spec/features/projects/environments/environment_spec.rb | 1 - spec/features/projects/pipelines/pipelines_spec.rb | 1 - 2 files changed, 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 -- cgit v1.2.1