Commit 9d6e8660 authored by ayufanpl's avatar ayufanpl

Fix whitespaces

parent 864fa093
......@@ -110,7 +110,7 @@ feature 'Groups > Pipeline Quota' do
let(:group) { create(:group, :with_used_build_minutes_limit) }
let!(:subgroup) { create(:group, parent: group) }
let!(:subproject) { create(:project, namespace: subgroup, shared_runners_enabled: true) }
it 'does not show project of subgroup' do
visit_pipeline_quota_page
......@@ -119,7 +119,7 @@ feature 'Groups > Pipeline Quota' do
end
end
end
context 'with shared_runner_minutes_on_root_namespace enabled' do
before do
stub_feature_flags(shared_runner_minutes_on_root_namespace: true)
......@@ -128,7 +128,7 @@ feature 'Groups > Pipeline Quota' do
context 'when accessing subgroup' do
let(:root_ancestor) { create(:group) }
let(:group) { create(:group, :with_used_build_minutes_limit, parent: root_ancestor) }
it 'does not show subproject' do
visit_pipeline_quota_page
......
......@@ -73,7 +73,7 @@ describe Namespace do
before do
namespace.shared_runners_minutes_limit = 100
end
context 'when group is subgroup' do
set(:root_ancestor) { create(:group) }
let(:namespace) { create(:namespace, parent: root_ancestor) }
......@@ -431,7 +431,7 @@ describe Namespace do
is_expected.to eq(true)
end
end
context 'group without projects' do
it "returns false" do
is_expected.to eq(false)
......@@ -516,8 +516,4 @@ describe Namespace do
end
end
end
describe '#validate_shared_runner_minutes_support' do
end
end
......@@ -52,5 +52,5 @@ describe 'admin/groups/_form' do
expect(rendered).to render_template('namespaces/_shared_runners_minutes_setting')
end
end
end
end
end
......@@ -3483,7 +3483,7 @@ describe Project do
context 'when namespace has parent group' do
let(:root_ancestor) { create(:group) }
let(:parent) { build(:group, parent: root_ancestor) }
it 'returns root ancestor' do
is_expected.to eq(root_ancestor)
end
......
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