Commit df5cb1b1 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak

Merge branch 'mo-remove-runner-spec-from-crossdatabase-list' into 'master'

Remove runner specs from crossdatabase list

See merge request gitlab-org/gitlab!77877
parents 4ee3f688 9567b162
...@@ -48,7 +48,7 @@ RSpec.describe Ci::Runner do ...@@ -48,7 +48,7 @@ RSpec.describe Ci::Runner do
let(:runner) { create(:ci_runner, :group, groups: [group]) } let(:runner) { create(:ci_runner, :group, groups: [group]) }
it 'disallows assigning group if already assigned to a group' do it 'disallows assigning group if already assigned to a group' do
runner.runner_namespaces << build(:ci_runner_namespace) runner.runner_namespaces << create(:ci_runner_namespace)
expect(runner).not_to be_valid expect(runner).not_to be_valid
expect(runner.errors.full_messages).to include('Runner needs to be assigned to exactly one group') expect(runner.errors.full_messages).to include('Runner needs to be assigned to exactly one group')
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
- "./spec/lib/gitlab/email/handler/create_note_on_issuable_handler_spec.rb" - "./spec/lib/gitlab/email/handler/create_note_on_issuable_handler_spec.rb"
- "./spec/models/ci/build_trace_chunk_spec.rb" - "./spec/models/ci/build_trace_chunk_spec.rb"
- "./spec/models/ci/job_artifact_spec.rb" - "./spec/models/ci/job_artifact_spec.rb"
- "./spec/models/ci/runner_spec.rb"
- "./spec/models/clusters/applications/runner_spec.rb" - "./spec/models/clusters/applications/runner_spec.rb"
- "./spec/models/design_management/version_spec.rb" - "./spec/models/design_management/version_spec.rb"
- "./spec/models/hooks/system_hook_spec.rb" - "./spec/models/hooks/system_hook_spec.rb"
......
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