Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-09-06 21:31:45 +0300
committerMichael Kozono <mkozono@gmail.com>2017-09-06 22:07:21 +0300
commit1feeea9c6af5d683f18c021df16e4eedfa9306e0 (patch)
tree4869cd4d3b9e839a4eba612c9da5205b73dafbe6 /spec/features/groups/share_lock_spec.rb
parenta887194abd2ea0c0cbcd24f0ff7630800d3eec12 (diff)
Refer to “Share with group lock” consistently
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'