summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2017-05-15 12:50:55 +0300
committerValery Sizov <valery@gitlab.com>2017-05-15 12:50:55 +0300
commitda9d8d3813afd94ea29c2e18c385107ef8ec7e45 (patch)
tree1a27872ac83a6145db91d93d5014cd161c0a7a9a
parentae8511df1312d85745baddec0b54401b36d46126 (diff)
downloadgitlab-ce-spec-minor-fix.tar.gz
Minor spec improvementspec-minor-fix
-rw-r--r--spec/features/auto_deploy_spec.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/features/auto_deploy_spec.rb b/spec/features/auto_deploy_spec.rb
index eba1bca83a8..6c7423e4922 100644
--- a/spec/features/auto_deploy_spec.rb
+++ b/spec/features/auto_deploy_spec.rb
@@ -5,14 +5,7 @@ describe 'Auto deploy' do
let(:project) { create(:project, :repository) }
before do
- project.create_kubernetes_service(
- active: true,
- properties: {
- namespace: project.path,
- api_url: 'https://kubernetes.example.com',
- token: 'a' * 40
- }
- )
+ create :kubernetes_service, project: project
project.team << [user, :master]
login_as user
end