Backport EE runner spec changes to CE
This commit is contained in:
parent
1a9f90f8c1
commit
3fba8c37de
1 changed files with 1 additions and 5 deletions
|
@ -55,13 +55,9 @@ describe Clusters::Applications::Runner do
|
||||||
|
|
||||||
context 'without a runner' do
|
context 'without a runner' do
|
||||||
let(:project) { create(:project) }
|
let(:project) { create(:project) }
|
||||||
let(:cluster) { create(:cluster) }
|
let(:cluster) { create(:cluster, projects: [project]) }
|
||||||
let(:gitlab_runner) { create(:clusters_applications_runner, cluster: cluster) }
|
let(:gitlab_runner) { create(:clusters_applications_runner, cluster: cluster) }
|
||||||
|
|
||||||
before do
|
|
||||||
cluster.projects << project
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'creates a runner' do
|
it 'creates a runner' do
|
||||||
expect do
|
expect do
|
||||||
subject
|
subject
|
||||||
|
|
Loading…
Reference in a new issue