Use match_array instead of include

This commit is contained in:
Patrick Derichs 2019-07-16 14:55:59 +02:00
parent 1ebef4aae5
commit 52bdcdff20

View file

@ -206,7 +206,7 @@ describe Boards::IssuesController do
'success' => true
)
expect(json_response['issues'].pluck('id')).to include(*move_issues_params[:ids])
expect(json_response['issues'].pluck('id')).to match_array(move_issues_params[:ids])
end
list_issues user: requesting_user, board: board, list: list2