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:
authorAndrew McCallum <andrew.mccallum@semafone.com>2018-01-16 12:40:51 +0300
committerAndrew McCallum <andrew.mccallum@semafone.com>2018-01-16 12:40:51 +0300
commitb1cf3225dbb6b897a8be405d599714b74cbfb547 (patch)
tree97c02388bb402395eeaade84279a6bda6f3dafb4 /spec/models/repository_spec.rb
parenta539e03d7e4f12cfaa3ae7998dd111f498f4c8dc (diff)
Move Regexp.escape(), fix formatting on tests.
Diffstat (limited to 'spec/models/repository_spec.rb')
-rw-r--r--spec/models/repository_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb
index 6767d818009..d9395ca61d7 100644
--- a/spec/models/repository_spec.rb
+++ b/spec/models/repository_spec.rb
@@ -675,9 +675,9 @@ describe Repository do
end
it 'properly handles when query is only slashes' do
- results = repository.search_files_by_name('//', 'master')
+ results = repository.search_files_by_name('//', 'master')
- expect(results).to match_array([])
+ expect(results).to match_array([])
end
it 'properly handles when query is not present' do