diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-03-08 05:05:37 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-03-08 05:05:37 +0000 |
commit | b5cb1115f4e3357118465ea4becf031b4ea598a6 (patch) | |
tree | 29c16e976e7e44771a6977d69bf7fa2e0ee3f17c | |
parent | 04665e938c256a582500b0a7e3100e0d90d6abb2 (diff) | |
parent | c52b6c2a791920680cbc5258e02795a2c88e8d2b (diff) | |
download | gitlab-ce-b5cb1115f4e3357118465ea4becf031b4ea598a6.tar.gz |
Merge branch 'rs-fix-todo-service-spec' into 'master'
Fix transient failure in TodoService spec
See merge request !9797
-rw-r--r-- | spec/services/todo_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/todo_service_spec.rb b/spec/services/todo_service_spec.rb index fb9a8462f84..a8395cb48ea 100644 --- a/spec/services/todo_service_spec.rb +++ b/spec/services/todo_service_spec.rb @@ -752,7 +752,7 @@ describe TodoService, services: true do issue = create(:issue, project: project, assignee: john_doe, author: author, description: mentions) expect(john_doe.todos_pending_count).to eq(0) - expect(john_doe).to receive(:update_todos_count_cache) + expect(john_doe).to receive(:update_todos_count_cache).and_call_original service.new_issue(issue, author) |