summaryrefslogtreecommitdiff
path: root/spec/features/projects
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-11-07 14:29:16 +0900
committerShinya Maeda <shinya@gitlab.com>2018-11-07 14:29:16 +0900
commit9c811566f85d18bc9eb4a85c6a343cf1bfa4fbd2 (patch)
tree0d5de6f22917fa5def4e8a9a918bf0bcd5f1d3e4 /spec/features/projects
parent4eeb51dc71062fa2eac828c6030388d354179efc (diff)
downloadgitlab-ce-9c811566f85d18bc9eb4a85c6a343cf1bfa4fbd2.tar.gz
Revert add action column changes
Diffstat (limited to 'spec/features/projects')
-rw-r--r--spec/features/projects/environments/environment_spec.rb13
-rw-r--r--spec/features/projects/environments/environments_spec.rb17
2 files changed, 0 insertions, 30 deletions
diff --git a/spec/features/projects/environments/environment_spec.rb b/spec/features/projects/environments/environment_spec.rb
index d12fe24714b..0d82df6dc8e 100644
--- a/spec/features/projects/environments/environment_spec.rb
+++ b/spec/features/projects/environments/environment_spec.rb
@@ -82,19 +82,6 @@ describe 'Environment' do
end
end
- context 'when there is a successful stop action' do
- let(:pipeline) { create(:ci_pipeline, project: project) }
- let(:build) { create(:ci_build, :success, pipeline: pipeline) }
-
- let(:deployment) do
- create(:deployment, :success, :stop, environment: environment, deployable: build)
- end
-
- it 'does show no deployments' do
- expect(page).to have_content('You don\'t have any deployments right now.')
- end
- end
-
context 'with related deployable present' do
let(:pipeline) { create(:ci_pipeline, project: project) }
let(:build) { create(:ci_build, pipeline: pipeline) }
diff --git a/spec/features/projects/environments/environments_spec.rb b/spec/features/projects/environments/environments_spec.rb
index b3eabcb7903..89954d35f91 100644
--- a/spec/features/projects/environments/environments_spec.rb
+++ b/spec/features/projects/environments/environments_spec.rb
@@ -344,23 +344,6 @@ describe 'Environments page', :js do
expect(page).to have_content('No deployments yet')
end
end
-
- context 'when there is a successful stop action' do
- let(:project) { create(:project, :repository) }
-
- let!(:deployment) do
- create(:deployment, :success,
- :stop,
- environment: environment,
- sha: project.commit.id)
- end
-
- it 'does not show deployments' do
- visit_environments(project)
-
- expect(page).to have_content('No deployments yet')
- end
- end
end
it 'does have a new environment button' do