Skip to content
Snippets Groups Projects
Commit 40ed88b7 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

whitespace

parent d1d7144b
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment