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
end
describe '#find_branch' do
it 'should return a Branch for master' do
branch = repository.find_branch('master')
it 'should return a Branch for master' do
branch = repository.find_branch('master')
expect(branch).to be_a_kind_of(Gitlab::Git::Branch)
expect(branch.name).to eq('master')
end
expect(branch).to be_a_kind_of(Gitlab::Git::Branch)
expect(branch.name).to eq('master')
end
it 'should handle non-existent branch' do
branch = repository.find_branch('this-is-garbage')
it 'should handle non-existent branch' do
branch = repository.find_branch('this-is-garbage')
expect(branch).to eq(nil)
end
expect(branch).to eq(nil)
end
end
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