Commit 40ed88b7 authored by Jacob Vosmaer's avatar Jacob Vosmaer

whitespace

parent d1d7144b
...@@ -1187,18 +1187,18 @@ describe Gitlab::Git::Repository, seed_helper: true do ...@@ -1187,18 +1187,18 @@ describe Gitlab::Git::Repository, seed_helper: true do
end end
describe '#find_branch' do describe '#find_branch' do
it 'should return a Branch for master' do it 'should return a Branch for master' do
branch = repository.find_branch('master') branch = repository.find_branch('master')
expect(branch).to be_a_kind_of(Gitlab::Git::Branch) expect(branch).to be_a_kind_of(Gitlab::Git::Branch)
expect(branch.name).to eq('master') expect(branch.name).to eq('master')
end end
it 'should handle non-existent branch' do it 'should handle non-existent branch' do
branch = repository.find_branch('this-is-garbage') branch = repository.find_branch('this-is-garbage')
expect(branch).to eq(nil) expect(branch).to eq(nil)
end end
end end
describe '#ref_name_for_sha' do describe '#ref_name_for_sha' 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