Read about our upcoming Code of Conduct on this issue

helm_app_spec.rb 398 Bytes
Newer Older
1
2
3
require 'rails_helper'
require_relative '../kubernetes_spec'

4
RSpec.describe Clusters::Applications::Helm, type: :model do
5
6
7
8
9
10
11
12
13
14
  it_behaves_like 'a registered kubernetes app'

  it { is_expected.to belong_to(:kubernetes_service) }

  describe '#cluster' do
    it 'is an alias to #kubernetes_service' do
      expect(subject.method(:cluster).original_name).to eq(:kubernetes_service)
    end
  end
end