summaryrefslogtreecommitdiff
path: root/spec/models/ci/runner_namespace_spec.rb
blob: 4e7cf7a3cb3ca0197486a3bcc47b0cbd476eb380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Ci::RunnerNamespace do
  it_behaves_like 'includes Limitable concern' do
    before do
      skip_default_enabled_yaml_check

      stub_feature_flags(ci_runner_limits_override: false)
    end

    subject { build(:ci_runner_namespace, group: create(:group, :nested), runner: create(:ci_runner, :group)) }
  end
end