summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-04-12 11:28:23 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-05-01 11:14:24 +0200
commitbccf8d86c57a141aeb60d96bc3139fe2b5dc9240 (patch)
tree8d9dadad95c30bef1c9f261f7804721d2198056f /spec
parent3143a5d2602de521b432231d701aedcc2844c088 (diff)
downloadgitlab-ce-bccf8d86c57a141aeb60d96bc3139fe2b5dc9240.tar.gz
Rename `NamespaceValidator` to `DynamicPathValidator`
This reflects better that it validates paths instead of a namespace model
Diffstat (limited to 'spec')
-rw-r--r--spec/validators/dynamic_path_validator_spec.rb (renamed from spec/validators/namespace_validator_spec.rb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/validators/namespace_validator_spec.rb b/spec/validators/dynamic_path_validator_spec.rb
index 589175a2ced..6c490b1be2e 100644
--- a/spec/validators/namespace_validator_spec.rb
+++ b/spec/validators/dynamic_path_validator_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe NamespaceValidator do
+describe DynamicPathValidator do
let(:validator) { described_class.new(attributes: [:path]) }
# Pass in a full path to remove the format segment: