diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 09:34:07 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 10:10:57 +0100 |
commit | f9364929bacf9ed68e32bb50758e24715d404069 (patch) | |
tree | f77872bd9da21dced7ae1fd39564ef7602dfab15 /spec/models/clusters/applications/helm_spec.rb | |
parent | 8638cf66d9212143749a85b4429b52fde2169026 (diff) | |
download | gitlab-ce-f9364929bacf9ed68e32bb50758e24715d404069.tar.gz |
Rename application_helm factory to cluster_application_helm
Diffstat (limited to 'spec/models/clusters/applications/helm_spec.rb')
-rw-r--r-- | spec/models/clusters/applications/helm_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/models/clusters/applications/helm_spec.rb b/spec/models/clusters/applications/helm_spec.rb index 54fce7d886a..44fb60f0ed0 100644 --- a/spec/models/clusters/applications/helm_spec.rb +++ b/spec/models/clusters/applications/helm_spec.rb @@ -28,7 +28,7 @@ RSpec.describe Clusters::Applications::Helm, type: :model do describe 'status state machine' do describe '#make_installing' do - subject { create(:applications_helm, :scheduled) } + subject { create(:cluster_applications_helm, :scheduled) } it 'is installing' do subject.make_installing! @@ -38,7 +38,7 @@ RSpec.describe Clusters::Applications::Helm, type: :model do end describe '#make_installed' do - subject { create(:applications_helm, :installing) } + subject { create(:cluster_applications_helm, :installing) } it 'is installed' do subject.make_installed @@ -48,7 +48,7 @@ RSpec.describe Clusters::Applications::Helm, type: :model do end describe '#make_errored' do - subject { create(:applications_helm, :installing) } + subject { create(:cluster_applications_helm, :installing) } let(:reason) { 'some errors' } it 'is errored' do @@ -60,7 +60,7 @@ RSpec.describe Clusters::Applications::Helm, type: :model do end describe '#make_scheduled' do - subject { create(:applications_helm, :installable) } + subject { create(:cluster_applications_helm, :installable) } it 'is scheduled' do subject.make_scheduled @@ -69,7 +69,7 @@ RSpec.describe Clusters::Applications::Helm, type: :model do end describe 'when was errored' do - subject { create(:applications_helm, :errored) } + subject { create(:cluster_applications_helm, :errored) } it 'clears #status_reason' do expect(subject.status_reason).not_to be_nil |