summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/models/cluster_application_initial_status_shared_examples.rb
blob: 55e458db512620a51ed3b02f14351b99b8ac82ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

RSpec.shared_examples 'cluster application initial status specs' do
  describe '#status' do
    let(:cluster) { create(:cluster, :provided_by_gcp) }

    subject { described_class.new(cluster: cluster) }

    it 'sets a default status' do
      expect(subject.status_name).to be(:installable)
    end
  end
end