Make a few style changes based on MR feedback.

This commit is contained in:
Timothy Andrew 2016-04-15 09:31:26 +05:30
parent c4393a10d7
commit f5ce601c2b

View file

@ -191,9 +191,9 @@ describe Issue, models: true do
end end
describe '#related_branches' do describe '#related_branches' do
let(:user) { build(:user, :admin) } let(:user) { build(:admin) }
before(:each) do before do
allow(subject.project.repository).to receive(:branch_names). allow(subject.project.repository).to receive(:branch_names).
and_return(["mpempe", "#{subject.iid}mepmep", subject.to_branch_name, "branch-#{subject.iid}"]) and_return(["mpempe", "#{subject.iid}mepmep", subject.to_branch_name, "branch-#{subject.iid}"])