Commit fe25d1d5 authored by Rémy Coutable's avatar Rémy Coutable

Fix specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 3fe18525
...@@ -20,7 +20,7 @@ describe BranchesFinder do ...@@ -20,7 +20,7 @@ describe BranchesFinder do
result = branches_finder.execute result = branches_finder.execute
expect(result.first.name).to eq('video') expect(result.first.name).to eq('crlf-diff')
end end
it 'sorts by last_updated' do it 'sorts by last_updated' do
......
...@@ -22,7 +22,7 @@ describe Gitlab::Highlight, lib: true do ...@@ -22,7 +22,7 @@ describe Gitlab::Highlight, lib: true do
let(:branch) { 'crlf-diff' } let(:branch) { 'crlf-diff' }
let(:blob) { repository.blob_at_branch(branch, path) } let(:blob) { repository.blob_at_branch(branch, path) }
let(:lines) do let(:lines) do
Gitlab::Highlight.highlight_lines(project.repository, 'crlf-diff-test', 'files/whitespace') Gitlab::Highlight.highlight_lines(project.repository, 'crlf-diff', 'files/whitespace')
end end
it 'strips extra LFs' do it 'strips extra LFs' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment