File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def assign(reply_data)
5858
5959 def run_assignment_rules ( id )
6060 collection_name = Utils . resource_class_to_collection_name ( collection_class )
61- response = @client . post ( "/#{ collection_name } /#{ id } /run_assignment_rules" )
61+ response = @client . post ( "/#{ collection_name } /#{ id } /run_assignment_rules" , { } )
6262 collection_class . new . from_response ( response )
6363 end
6464 end
Original file line number Diff line number Diff line change 5454 end
5555
5656 it 'runs assignment rules on a conversation' do
57- client . expects ( :post ) . with ( '/conversations/147/run_assignment_rules' ) . returns ( test_conversation )
57+ client . expects ( :post ) . with ( '/conversations/147/run_assignment_rules' , { } ) . returns ( test_conversation )
5858 client . conversations . run_assignment_rules ( '147' )
5959 end
6060
You can’t perform that action at this time.
0 commit comments