Use match_array instead of include
This commit is contained in:
parent
1ebef4aae5
commit
52bdcdff20
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue