Branch: refs/heads/rspec-kw-hash Home: https://github.com/yast/yast-installation Commit: 17d3d9aae1ed279060d33b7e0ce86ed1a4d3bb80 https://github.com/yast/yast-installation/commit/17d3d9aae1ed279060d33b7e0ce... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M test/lib/clients/inst_download_release_notes_test.rb M test/system_role_test.rb Log Message: ----------- Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) New rspec-mocks distinguish between hash and keyword arguments passed to `with`. The tested code does use hashes but we've used keywords in tests because it's shorter to write. Fixed. rspec-mocks 3.11.2 / 2022-10-25:
Bug Fixes: Support keyword argument semantics when constraining argument expectations using with on Ruby 3.0+ with instance_double https://github.com/rspec/rspec-mocks/pull/1473