diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-27 17:19:16 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-28 14:47:59 +0300 |
commit | c36d7842da24e6726705199f178c1324c634bdaf (patch) | |
tree | e84682ce1ef81470cf08782e9983c4f428db8545 /spec/features/auto_deploy_spec.rb | |
parent | 53da3d976f3705a87edc50dca41748b5e479fc83 (diff) |
Aling shared_exmaples to "same behavior between KubernetesService and Platform::Kubernetes"
Diffstat (limited to 'spec/features/auto_deploy_spec.rb')
-rw-r--r-- | spec/features/auto_deploy_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/auto_deploy_spec.rb b/spec/features/auto_deploy_spec.rb index 240c5711a7b..453b31e0d77 100644 --- a/spec/features/auto_deploy_spec.rb +++ b/spec/features/auto_deploy_spec.rb @@ -4,7 +4,7 @@ describe 'Auto deploy' do let(:user) { create(:user) } let(:project) { create(:project, :repository) } - shared_examples 'correct behavior on KubernetesService and Platform::Kubernetes' do + shared_examples 'same behavior between KubernetesService and Platform::Kubernetes' do context 'when no deployment service is active' do before do project.kubernetes_service.update!(active: false) @@ -56,7 +56,7 @@ describe 'Auto deploy' do sign_in user end - it_behaves_like 'correct behavior on KubernetesService and Platform::Kubernetes' + it_behaves_like 'same behavior between KubernetesService and Platform::Kubernetes' end context 'when user configured kubernetes from CI/CD > Clusters' do @@ -66,6 +66,6 @@ describe 'Auto deploy' do sign_in user end - it_behaves_like 'correct behavior on KubernetesService and Platform::Kubernetes' + it_behaves_like 'same behavior between KubernetesService and Platform::Kubernetes' end end |