Commit 7dcef28d authored by Bob Van Landuyt's avatar Bob Van Landuyt

Resolve conflicts in `invite_group_spec.rb`

parent 139fc918
...@@ -30,11 +30,7 @@ describe 'Project > Members > Invite group', :js do ...@@ -30,11 +30,7 @@ describe 'Project > Members > Invite group', :js do
sign_in(maintainer) sign_in(maintainer)
end end
<<<<<<< HEAD
context 'when the group has "Share group lock" disabled' do
=======
context 'when the group has "Share with group lock" disabled' do context 'when the group has "Share with group lock" disabled' do
>>>>>>> upstream/master
it_behaves_like 'the project can be shared with groups' it_behaves_like 'the project can be shared with groups'
it 'the project can be shared with another group' do it 'the project can be shared with another group' do
...@@ -52,11 +48,7 @@ describe 'Project > Members > Invite group', :js do ...@@ -52,11 +48,7 @@ describe 'Project > Members > Invite group', :js do
end end
end end
<<<<<<< HEAD
context 'when the group has "Share group lock" enabled' do
=======
context 'when the group has "Share with group lock" enabled' do context 'when the group has "Share with group lock" enabled' do
>>>>>>> upstream/master
before do before do
project.namespace.update_column(:share_with_group_lock, true) project.namespace.update_column(:share_with_group_lock, true)
end end
...@@ -76,21 +68,12 @@ describe 'Project > Members > Invite group', :js do ...@@ -76,21 +68,12 @@ describe 'Project > Members > Invite group', :js do
sign_in(maintainer) sign_in(maintainer)
end end
<<<<<<< HEAD
context 'when the root_group has "Share group lock" disabled' do
context 'when the subgroup has "Share group lock" disabled' do
it_behaves_like 'the project can be shared with groups'
end
context 'when the subgroup has "Share group lock" enabled' do
=======
context 'when the root_group has "Share with group lock" disabled' do context 'when the root_group has "Share with group lock" disabled' do
context 'when the subgroup has "Share with group lock" disabled' do context 'when the subgroup has "Share with group lock" disabled' do
it_behaves_like 'the project can be shared with groups' it_behaves_like 'the project can be shared with groups'
end end
context 'when the subgroup has "Share with group lock" enabled' do context 'when the subgroup has "Share with group lock" enabled' do
>>>>>>> upstream/master
before do before do
subgroup.update_column(:share_with_group_lock, true) subgroup.update_column(:share_with_group_lock, true)
end end
...@@ -99,28 +82,16 @@ describe 'Project > Members > Invite group', :js do ...@@ -99,28 +82,16 @@ describe 'Project > Members > Invite group', :js do
end end
end end
<<<<<<< HEAD
context 'when the root_group has "Share group lock" enabled' do
=======
context 'when the root_group has "Share with group lock" enabled' do context 'when the root_group has "Share with group lock" enabled' do
>>>>>>> upstream/master
before do before do
root_group.update_column(:share_with_group_lock, true) root_group.update_column(:share_with_group_lock, true)
end end
<<<<<<< HEAD
context 'when the subgroup has "Share group lock" disabled (parent overridden)' do
it_behaves_like 'the project can be shared with groups'
end
context 'when the subgroup has "Share group lock" enabled' do
=======
context 'when the subgroup has "Share with group lock" disabled (parent overridden)' do context 'when the subgroup has "Share with group lock" disabled (parent overridden)' do
it_behaves_like 'the project can be shared with groups' it_behaves_like 'the project can be shared with groups'
end end
context 'when the subgroup has "Share with group lock" enabled' do context 'when the subgroup has "Share with group lock" enabled' do
>>>>>>> upstream/master
before do before do
subgroup.update_column(:share_with_group_lock, true) subgroup.update_column(:share_with_group_lock, true)
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