Commit f5ce601c authored by Timothy Andrew's avatar Timothy Andrew

Make a few style changes based on MR feedback.

parent c4393a10
......@@ -191,9 +191,9 @@ describe Issue, models: true do
end
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).
and_return(["mpempe", "#{subject.iid}mepmep", subject.to_branch_name, "branch-#{subject.iid}"])
......
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