summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-04-11 23:14:02 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-04-12 18:05:50 +0200
commiteae2ed3366ac13832c56aefe965513b986d7e8b1 (patch)
tree12fa2cb1bac9ab03c1476f5c58f215aaf0a7ba10 /spec/views
parent2bf3846adcac843958837a32fafdeb63d067a532 (diff)
downloadgitlab-ce-eae2ed3366ac13832c56aefe965513b986d7e8b1.tar.gz
Spec improvements for speed, reliability and readability
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/commit/_commit_box.html.haml_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/views/projects/commit/_commit_box.html.haml_spec.rb b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
index fb5087f5090..2fdd28a3be4 100644
--- a/spec/views/projects/commit/_commit_box.html.haml_spec.rb
+++ b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
@@ -7,7 +7,6 @@ describe 'projects/commit/_commit_box.html.haml' do
before do
assign(:project, project)
assign(:commit, project.commit)
- assign(:current_user, user)
allow(view).to receive(:current_user).and_return(user)
allow(view).to receive(:can_collaborate_with_project?).and_return(false)
end