diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-02 00:06:26 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-02 00:06:26 +0000 |
commit | 587794b4b8a6e919e77ee4abe8215fa291e6a91d (patch) | |
tree | 380d6578d1ab5902bb521071128bafd4f70472ef /spec/factories/clusters/applications/helm.rb | |
parent | e0bd3a45d9dc6c74cac1a33ea8c03d6d8334249b (diff) | |
download | gitlab-ce-587794b4b8a6e919e77ee4abe8215fa291e6a91d.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/clusters/applications/helm.rb')
-rw-r--r-- | spec/factories/clusters/applications/helm.rb | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb index 89f7bc15217..c7ec7c11743 100644 --- a/spec/factories/clusters/applications/helm.rb +++ b/spec/factories/clusters/applications/helm.rb @@ -19,50 +19,50 @@ FactoryBot.define do end trait :not_installable do - status(-2) + status { -2 } end trait :errored do - status(-1) - status_reason 'something went wrong' + status { -1 } + status_reason { 'something went wrong' } end trait :installable do - status 0 + status { 0 } end trait :scheduled do - status 1 + status { 1 } end trait :installing do - status 2 + status { 2 } end trait :installed do - status 3 + status { 3 } end trait :updating do - status 4 + status { 4 } end trait :updated do - status 5 + status { 5 } end trait :update_errored do - status(6) - status_reason 'something went wrong' + status { 6 } + status_reason { 'something went wrong' } end trait :uninstalling do - status 7 + status { 7 } end trait :uninstall_errored do - status(8) - status_reason 'something went wrong' + status { 8 } + status_reason { 'something went wrong' } end trait :timed_out do @@ -75,7 +75,7 @@ FactoryBot.define do end factory :clusters_applications_cert_manager, class: Clusters::Applications::CertManager do - email 'admin@example.com' + email { 'admin@example.com' } cluster factory: %i(cluster with_installed_helm provided_by_gcp) end @@ -89,7 +89,7 @@ FactoryBot.define do end factory :clusters_applications_knative, class: Clusters::Applications::Knative do - hostname 'example.com' + hostname { 'example.com' } cluster factory: %i(cluster with_installed_helm provided_by_gcp) end |