summaryrefslogtreecommitdiff
path: root/spec/factories/services.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/services.rb')
-rw-r--r--spec/factories/services.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/services.rb b/spec/factories/services.rb
index a14a46c803e..51335bdcf1d 100644
--- a/spec/factories/services.rb
+++ b/spec/factories/services.rb
@@ -2,4 +2,14 @@ FactoryGirl.define do
factory :service do
project factory: :empty_project
end
+
+ factory :kubernetes_service do
+ project factory: :empty_project
+ active true
+ properties({
+ namespace: 'somepath',
+ api_url: 'https://kubernetes.example.com',
+ token: 'a' * 40,
+ })
+ end
end