diff --git a/spec/controllers/boards/issues_controller_spec.rb b/spec/controllers/boards/issues_controller_spec.rb index f8a25d814ed..2f0a8f93bd5 100644 --- a/spec/controllers/boards/issues_controller_spec.rb +++ b/spec/controllers/boards/issues_controller_spec.rb @@ -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