diff options
author | Andrew McCallum <andrew.mccallum@semafone.com> | 2018-01-16 12:40:51 +0300 |
---|---|---|
committer | Andrew McCallum <andrew.mccallum@semafone.com> | 2018-01-16 12:40:51 +0300 |
commit | b1cf3225dbb6b897a8be405d599714b74cbfb547 (patch) | |
tree | 97c02388bb402395eeaade84279a6bda6f3dafb4 /spec/models/repository_spec.rb | |
parent | a539e03d7e4f12cfaa3ae7998dd111f498f4c8dc (diff) |
Move Regexp.escape(), fix formatting on tests.
Diffstat (limited to 'spec/models/repository_spec.rb')
-rw-r--r-- | spec/models/repository_spec.rb | 4 |
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 |