debian-mirror-gitlab/spec/models/ci/runner_namespace_spec.rb

16 lines
385 B
Ruby
Raw Normal View History

2021-06-08 01:23:25 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Ci::RunnerNamespace do
it_behaves_like 'includes Limitable concern' do
2021-10-27 15:23:28 +05:30
before do
skip_default_enabled_yaml_check
stub_feature_flags(ci_runner_limits_override: false)
end
2021-06-08 01:23:25 +05:30
subject { build(:ci_runner_namespace, group: create(:group, :nested), runner: create(:ci_runner, :group)) }
end
end