diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-02 17:10:46 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-02 17:10:46 +0300 |
commit | 64be8d70ae20928df351e495a3442bb6036bc3e7 (patch) | |
tree | 6eb01452391ccfa45d1dbaeae261d118d323bcc1 /spec/models/clusters | |
parent | 461c385ebca7ecb52d0b385fd61c856eb395481a (diff) |
Improve backend structure of data
Diffstat (limited to 'spec/models/clusters')
-rw-r--r-- | spec/models/clusters/kubernetes/helm_app_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/clusters/kubernetes_spec.rb | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/spec/models/clusters/kubernetes/helm_app_spec.rb b/spec/models/clusters/kubernetes/helm_app_spec.rb index 27a1561ce6c..6e32e2e7037 100644 --- a/spec/models/clusters/kubernetes/helm_app_spec.rb +++ b/spec/models/clusters/kubernetes/helm_app_spec.rb @@ -1,7 +1,7 @@ require 'rails_helper' require_relative '../kubernetes_spec' -RSpec.describe Clusters::Kubernetes::HelmApp, type: :model do +RSpec.describe Clusters::Applications::Helm, type: :model do it_behaves_like 'a registered kubernetes app' it { is_expected.to belong_to(:kubernetes_service) } diff --git a/spec/models/clusters/kubernetes_spec.rb b/spec/models/clusters/kubernetes_spec.rb deleted file mode 100644 index 5876f08250f..00000000000 --- a/spec/models/clusters/kubernetes_spec.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'rails_helper' - -RSpec.shared_examples 'a registered kubernetes app' do - let(:name) { described_class::NAME } - - it 'can be retrieved with Clusters::Kubernetes.app' do - expect(Clusters::Kubernetes.app(name)).to eq(described_class) - end -end |