From eae2ed3366ac13832c56aefe965513b986d7e8b1 Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Wed, 11 Apr 2018 23:14:02 +0200 Subject: Spec improvements for speed, reliability and readability --- spec/views/projects/commit/_commit_box.html.haml_spec.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/views') 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 -- cgit v1.2.3