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-15 15:04:27 +0300
committerAndrew McCallum <andrew.mccallum@semafone.com>2018-01-15 15:04:27 +0300
commitbce6a89152bd6d45bce67d5ecf0250ab97a0a93a (patch)
treefeaa963450e0e73d098b67d9bfdc6aa5faf43b3c /spec/models/repository_spec.rb
parentae106913d03215dac1e73e4a5897e3cf7547ce84 (diff)
Fix spelling mistake.
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 3d96f815c53..5860a0bf698 100644
--- a/spec/models/repository_spec.rb
+++ b/spec/models/repository_spec.rb
@@ -668,8 +668,8 @@ describe Repository do
expect(results.first).to eq('files/html/500.html')
end
- it 'ignores root slash' do
- result = repository.search_files_by_name('/files', 'master')
+ it 'ignores leading slashes' do
+ results = repository.search_files_by_name('/files', 'master')
expect(results.first).to eq('files/html/500.html')
end