Commit 0a459db0 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Merge branch '38464-k8s-apps' of https://gitlab.com/gitlab-org/gitlab-ce into...

Merge branch '38464-k8s-apps' of https://gitlab.com/gitlab-org/gitlab-ce into add-ingress-to-cluster-applications
parents 1625adf5 a194d312
......@@ -8,7 +8,7 @@ describe Projects::Clusters::ApplicationsController do
end
describe 'POST create' do
let(:cluster) { create(:cluster, :project, :providing_by_gcp) }
let(:cluster) { create(:cluster, :project, :provided_by_gcp) }
let(:project) { cluster.project }
let(:application) { 'helm' }
let(:params) { { application: application, id: cluster.id } }
......@@ -52,8 +52,7 @@ describe Projects::Clusters::ApplicationsController do
context 'when application is already installing' do
before do
other = current_application.new(cluster: cluster)
other.make_installing!
create(:cluster_applications_helm, :installing, cluster: cluster)
end
it 'returns 400' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment