diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-27 23:19:16 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-28 20:47:59 +0900 |
commit | c36d7842da24e6726705199f178c1324c634bdaf (patch) | |
tree | e84682ce1ef81470cf08782e9983c4f428db8545 /spec/features/projects/environments/environment_spec.rb | |
parent | 53da3d976f3705a87edc50dca41748b5e479fc83 (diff) | |
download | gitlab-ce-c36d7842da24e6726705199f178c1324c634bdaf.tar.gz |
Aling shared_exmaples to "same behavior between KubernetesService and Platform::Kubernetes"
Diffstat (limited to 'spec/features/projects/environments/environment_spec.rb')
-rw-r--r-- | spec/features/projects/environments/environment_spec.rb | 6 |
1 files changed, 3 insertions, 3 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 |