Fix specs

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2016-08-01 13:16:04 +02:00
parent 3fe18525dd
commit fe25d1d5cf
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ describe BranchesFinder do
result = branches_finder.execute
expect(result.first.name).to eq('video')
expect(result.first.name).to eq('crlf-diff')
end
it 'sorts by last_updated' do

View file

@ -22,7 +22,7 @@ describe Gitlab::Highlight, lib: true do
let(:branch) { 'crlf-diff' }
let(:blob) { repository.blob_at_branch(branch, path) }
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
it 'strips extra LFs' do