Refactor syntax for spec/models/clusters/applications/jupyter_spec.rb
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
08216d2e58
commit
7ae4581c8f
1 changed files with 2 additions and 2 deletions
|
@ -14,14 +14,14 @@ describe Clusters::Applications::Jupyter do
|
|||
let(:cluster) { create(:cluster, :provided_by_gcp) }
|
||||
let(:jupyter) { create(:clusters_applications_jupyter, cluster: cluster) }
|
||||
|
||||
it { expect(jupyter.status_name).to be(:not_installable) }
|
||||
it { expect(jupyter).to be_not_installable }
|
||||
end
|
||||
|
||||
context 'when ingress is installed and external_ip is assigned' do
|
||||
let(:ingress) { create(:clusters_applications_ingress, :installed, external_ip: '127.0.0.1') }
|
||||
let(:jupyter) { create(:clusters_applications_jupyter, cluster: ingress.cluster) }
|
||||
|
||||
it { expect(jupyter.status_name).to be(:installable) }
|
||||
it { expect(jupyter).to be_installable }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue