summaryrefslogtreecommitdiff
path: root/spec/features/task_lists_spec.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-08-11 01:44:17 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-08-11 17:54:34 +0800
commitae7c52a06012f1663e784ebbc86e04e566d095b4 (patch)
tree3d3275f4d4218cf8c3044c50213da68b17425596 /spec/features/task_lists_spec.rb
parent41a5adca7514ced023a2708ab26666db560b58a3 (diff)
downloadgitlab-ce-ae7c52a06012f1663e784ebbc86e04e566d095b4.tar.gz
Fix more tests
Diffstat (limited to 'spec/features/task_lists_spec.rb')
-rw-r--r--spec/features/task_lists_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/task_lists_spec.rb b/spec/features/task_lists_spec.rb
index 35f025830f1..81d86d249fd 100644
--- a/spec/features/task_lists_spec.rb
+++ b/spec/features/task_lists_spec.rb
@@ -245,6 +245,10 @@ feature 'Task Lists' do
visit project_merge_request_path(project, merge)
end
+ before do
+ allow_any_instance_of(Repository).to receive(:write_ref)
+ end
+
describe 'multiple tasks' do
let!(:merge) { create(:merge_request, :simple, description: markdown, author: user, source_project: project) }