summaryrefslogtreecommitdiff
path: root/spec/features/groups/share_lock_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/groups/share_lock_spec.rb')
-rw-r--r--spec/features/groups/share_lock_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/features/groups/share_lock_spec.rb b/spec/features/groups/share_lock_spec.rb
index cf1079bb6d6..8842d1391aa 100644
--- a/spec/features/groups/share_lock_spec.rb
+++ b/spec/features/groups/share_lock_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-feature 'Group share lock' do
+feature 'Group share with group lock' do
given(:root_owner) { create(:user) }
given(:root_group) { create(:group) }
@@ -12,8 +12,8 @@ feature 'Group share lock' do
context 'with a subgroup', :nested_groups do
given!(:subgroup) { create(:group, parent: root_group) }
- context 'when enabling the parent group share lock' do
- scenario 'the subgroup share lock becomes enabled' do
+ context 'when enabling the parent group share with group lock' do
+ scenario 'the subgroup share with group lock becomes enabled' do
visit edit_group_path(root_group)
check 'group_share_with_group_lock'
@@ -23,15 +23,15 @@ feature 'Group share lock' do
end
end
- context 'when disabling the parent group share lock (which was already enabled)' do
+ context 'when disabling the parent group share with group lock (which was already enabled)' do
background do
visit edit_group_path(root_group)
check 'group_share_with_group_lock'
click_on 'Save group'
end
- context 'and the subgroup share lock is enabled' do
- scenario 'the subgroup share lock does not change' do
+ context 'and the subgroup share with group lock is enabled' do
+ scenario 'the subgroup share with group lock does not change' do
visit edit_group_path(root_group)
uncheck 'group_share_with_group_lock'
@@ -41,14 +41,14 @@ feature 'Group share lock' do
end
end
- context 'but the subgroup share lock is disabled' do
+ context 'but the subgroup share with group lock is disabled' do
background do
visit edit_group_path(subgroup)
uncheck 'group_share_with_group_lock'
click_on 'Save group'
end
- scenario 'the subgroup share lock does not change' do
+ scenario 'the subgroup share with group lock does not change' do
visit edit_group_path(root_group)
uncheck 'group_share_with_group_lock'