summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-07-12 15:35:24 +0200
committerJacob Vosmaer <jacob@gitlab.com>2018-07-12 15:35:24 +0200
commit40ed88b78412c9598293dbc3b12e3d7c65e12c23 (patch)
tree900ab5040dc7ead4a4dde732de4086e63e10a14b
parentd1d7144b96d6c071712ede2df077e827e13d8d89 (diff)
downloadgitlab-ce-40ed88b78412c9598293dbc3b12e3d7c65e12c23.tar.gz
whitespace
-rw-r--r--spec/lib/gitlab/git/repository_spec.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/lib/gitlab/git/repository_spec.rb b/spec/lib/gitlab/git/repository_spec.rb
index 58b765c00ab..64b08dd9c4b 100644
--- a/spec/lib/gitlab/git/repository_spec.rb
+++ b/spec/lib/gitlab/git/repository_spec.rb
@@ -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