summaryrefslogtreecommitdiff
path: root/spec/features/projects/environments
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-27 23:19:16 +0900
committerShinya Maeda <shinya@gitlab.com>2017-11-28 20:47:59 +0900
commitc36d7842da24e6726705199f178c1324c634bdaf (patch)
treee84682ce1ef81470cf08782e9983c4f428db8545 /spec/features/projects/environments
parent53da3d976f3705a87edc50dca41748b5e479fc83 (diff)
downloadgitlab-ce-c36d7842da24e6726705199f178c1324c634bdaf.tar.gz
Aling shared_exmaples to "same behavior between KubernetesService and Platform::Kubernetes"
Diffstat (limited to 'spec/features/projects/environments')
-rw-r--r--spec/features/projects/environments/environment_spec.rb6
-rw-r--r--spec/features/projects/environments/environments_spec.rb6
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/projects/environments/environment_spec.rb b/spec/features/projects/environments/environment_spec.rb
index 3d64b404a84..dfcf97ad495 100644
--- a/spec/features/projects/environments/environment_spec.rb
+++ b/spec/features/projects/environments/environment_spec.rb
@@ -101,7 +101,7 @@ feature 'Environment' do
end
context 'with terminal' do
- shared_examples 'correct behavior with terminal' do
+ shared_examples 'same behavior between KubernetesService and Platform::Kubernetes' do
context 'for project master' do
let(:role) { :master }
@@ -135,14 +135,14 @@ feature 'Environment' do
context 'when user configured kubernetes from Integration > Kubernetes' do
let(:project) { create(:kubernetes_project, :test_repo) }
- it_behaves_like 'correct behavior with terminal'
+ it_behaves_like 'same behavior between KubernetesService and Platform::Kubernetes'
end
context 'when user configured kubernetes from CI/CD > Clusters' do
let!(:cluster) { create(:cluster, :project, :provided_by_gcp) }
let(:project) { cluster.project }
- it_behaves_like 'correct behavior with terminal'
+ it_behaves_like 'same behavior between KubernetesService and Platform::Kubernetes'
end
end
diff --git a/spec/features/projects/environments/environments_spec.rb b/spec/features/projects/environments/environments_spec.rb
index 1732d7f2a9f..8a7c9766f9e 100644
--- a/spec/features/projects/environments/environments_spec.rb
+++ b/spec/features/projects/environments/environments_spec.rb
@@ -208,7 +208,7 @@ feature 'Environments page', :js do
end
context 'when kubernetes terminal is available' do
- shared_examples 'correct behavior with terminal' do
+ shared_examples 'same behavior between KubernetesService and Platform::Kubernetes' do
context 'for project master' do
let(:role) { :master }
@@ -229,14 +229,14 @@ feature 'Environments page', :js do
context 'when user configured kubernetes from Integration > Kubernetes' do
let(:project) { create(:kubernetes_project, :test_repo) }
- it_behaves_like 'correct behavior with terminal'
+ it_behaves_like 'same behavior between KubernetesService and Platform::Kubernetes'
end
context 'when user configured kubernetes from CI/CD > Clusters' do
let!(:cluster) { create(:cluster, :project, :provided_by_gcp) }
let(:project) { cluster.project }
- it_behaves_like 'correct behavior with terminal'
+ it_behaves_like 'same behavior between KubernetesService and Platform::Kubernetes'
end
end
end