Commit ba9b39dc authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in spec/finders/group_projects_finder_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 04d6ac2f
...@@ -126,7 +126,6 @@ describe GroupProjectsFinder do ...@@ -126,7 +126,6 @@ describe GroupProjectsFinder do
context 'without subgroups projects' do context 'without subgroups projects' do
it { is_expected.to eq([public_project]) } it { is_expected.to eq([public_project]) }
end end
<<<<<<< HEAD
end end
end end
...@@ -141,8 +140,6 @@ describe GroupProjectsFinder do ...@@ -141,8 +140,6 @@ describe GroupProjectsFinder do
context 'without subgroups projects' do context 'without subgroups projects' do
it { is_expected.to match_array([shared_project_3, shared_project_2, shared_project_1, public_project]) } it { is_expected.to match_array([shared_project_3, shared_project_2, shared_project_1, public_project]) }
=======
>>>>>>> upstream/master
end end
end end
end end
...@@ -161,7 +158,6 @@ describe GroupProjectsFinder do ...@@ -161,7 +158,6 @@ describe GroupProjectsFinder do
end end
context "all" do context "all" do
<<<<<<< HEAD
it { is_expected.to eq([shared_project_3, shared_project_2, shared_project_1, private_project, public_project]) } it { is_expected.to eq([shared_project_3, shared_project_2, shared_project_1, private_project, public_project]) }
end end
end end
...@@ -182,19 +178,6 @@ describe GroupProjectsFinder do ...@@ -182,19 +178,6 @@ describe GroupProjectsFinder do
context "all" do context "all" do
subject { described_class.new(group: group, current_user: current_user).execute } subject { described_class.new(group: group, current_user: current_user).execute }
it { is_expected.to eq([shared_project_3, shared_project_2, shared_project_1, private_project, public_project]) } it { is_expected.to eq([shared_project_3, shared_project_2, shared_project_1, private_project, public_project]) }
=======
context 'with subgroups projects', :nested_groups do
before do
options[:include_subgroups] = true
end
it { is_expected.to match_array([shared_project_3, shared_project_2, shared_project_1, public_project, subgroup_project]) }
end
context 'without subgroups projects' do
it { is_expected.to match_array([shared_project_3, shared_project_2, shared_project_1, public_project]) }
end
>>>>>>> upstream/master
end end
end 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