diff options
author | Rémy Coutable <remy@rymai.me> | 2017-11-14 20:55:00 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-11-15 17:42:19 +0300 |
commit | 05c10c9bf77db2a9e37e61d1953ef0150289322d (patch) | |
tree | af7d820349678773d5b0835d652425e70dbffe80 /spec/services/merge_requests/update_service_spec.rb | |
parent | a4072db0198896242886d22c644ed91c1016aa8d (diff) |
Add total_time_spent to the `changes` hash in issuable Webhook payloads
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/services/merge_requests/update_service_spec.rb')
-rw-r--r-- | spec/services/merge_requests/update_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/merge_requests/update_service_spec.rb b/spec/services/merge_requests/update_service_spec.rb index 98409be4236..5ce6ca70c83 100644 --- a/spec/services/merge_requests/update_service_spec.rb +++ b/spec/services/merge_requests/update_service_spec.rb @@ -80,7 +80,7 @@ describe MergeRequests::UpdateService, :mailer do it 'executes hooks with update action' do expect(service) .to have_received(:execute_hooks) - .with(@merge_request, 'update', old_labels: [], old_assignees: [user3]) + .with(@merge_request, 'update', old_labels: [], old_assignees: [user3], old_total_time_spent: 0) end it 'sends email to user2 about assign of new merge request and email to user3 about merge request unassignment' do |