diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-10 20:44:17 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-11 12:54:34 +0300 |
commit | ae7c52a06012f1663e784ebbc86e04e566d095b4 (patch) | |
tree | 3d3275f4d4218cf8c3044c50213da68b17425596 /spec/features/task_lists_spec.rb | |
parent | 41a5adca7514ced023a2708ab26666db560b58a3 (diff) |
Fix more tests
Diffstat (limited to 'spec/features/task_lists_spec.rb')
-rw-r--r-- | spec/features/task_lists_spec.rb | 4 |
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) } |