summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-02 20:09:21 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:15 +0100
commitdf41148662142ce20a77b092665f48dd4dfa7bfb (patch)
tree52543761ffb291f2a70a82a0604847a2006388b5 /spec/lib
parenta3191463b60c8ded25a2898d5e5520ae4aff1114 (diff)
downloadgitlab-ce-df41148662142ce20a77b092665f48dd4dfa7bfb.tar.gz
Improve path sanitization in `StringPath`
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/string_path_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/lib/gitlab/string_path_spec.rb b/spec/lib/gitlab/string_path_spec.rb
index af46f9754ac..0ef2155cb9b 100644
--- a/spec/lib/gitlab/string_path_spec.rb
+++ b/spec/lib/gitlab/string_path_spec.rb
@@ -45,7 +45,6 @@ describe Gitlab::StringPath do
it { is_expected.to be_directory }
it { is_expected.to be_relative }
- it { is_expected.to have_parent }
end
describe 'path/dir_1/', path: 'path/dir_1/' do