summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-04-15 09:31:26 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-04-15 09:31:26 +0530
commitf5ce601c2b052b18398d2207c64ce8828b628521 (patch)
tree41a1fe82f2a02bd98ace65d6d736e97b4fb70082
parentc4393a10d7c7b45fd6ff1942328308794badb3d4 (diff)
downloadgitlab-ce-f5ce601c2b052b18398d2207c64ce8828b628521.tar.gz
Make a few style changes based on MR feedback.
-rw-r--r--spec/models/issue_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb
index 202ce846dca..ed982d8a9d4 100644
--- a/spec/models/issue_spec.rb
+++ b/spec/models/issue_spec.rb
@@ -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}"])