diff options
author | Patrick Derichs <pderichs@gitlab.com> | 2019-07-16 14:55:59 +0200 |
---|---|---|
committer | Patrick Derichs <pderichs@gitlab.com> | 2019-07-16 16:18:16 +0200 |
commit | 52bdcdff20127b09b5f088138b899c9ad6a1048b (patch) | |
tree | 545c87090ca0e246fe333e711775d0d88d8e63ef /spec/controllers/boards | |
parent | 1ebef4aae55adb5e17a76b92aea74467e49130bf (diff) | |
download | gitlab-ce-52bdcdff20127b09b5f088138b899c9ad6a1048b.tar.gz |
Use match_array instead of include
Diffstat (limited to 'spec/controllers/boards')
-rw-r--r-- | spec/controllers/boards/issues_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |