summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-10-27 11:29:51 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-11-07 19:52:09 +0100
commit58d1d6a5c7e0a45c9aa8a9d4d1be24dbdce5a08a (patch)
tree4f78e39630276f4dc734964f44dc1d7869282955 /spec/lib
parent5dde0536c323d14fef2327a8d553b5f8a8a7b2d0 (diff)
downloadgitlab-ce-58d1d6a5c7e0a45c9aa8a9d4d1be24dbdce5a08a.tar.gz
Free up some group reserved words
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/path_regex_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/gitlab/path_regex_spec.rb b/spec/lib/gitlab/path_regex_spec.rb
index c76084114cb..98fcc84c416 100644
--- a/spec/lib/gitlab/path_regex_spec.rb
+++ b/spec/lib/gitlab/path_regex_spec.rb
@@ -297,7 +297,7 @@ describe Gitlab::PathRegex do
end
it 'rejects group routes' do
- expect(subject).not_to match('root/activity/')
+ expect(subject).not_to match('root/analytics/')
end
end
@@ -317,7 +317,7 @@ describe Gitlab::PathRegex do
end
it 'rejects group routes' do
- expect(subject).not_to match('root/activity/more/')
+ expect(subject).not_to match('root/analytics/more/')
end
end
end
@@ -350,7 +350,7 @@ describe Gitlab::PathRegex do
end
it 'accepts group routes' do
- expect(subject).to match('activity/')
+ expect(subject).to match('analytics/')
end
it 'is not case sensitive' do
@@ -381,7 +381,7 @@ describe Gitlab::PathRegex do
end
it 'accepts group routes' do
- expect(subject).to match('root/activity/')
+ expect(subject).to match('root/analytics/')
end
it 'is not case sensitive' do