Branch: refs/heads/rspec-kw-hash Home: https://github.com/yast/yast-security Commit: 2eff1f669b1609640ce0318bdcb788ae04c6ece1 https://github.com/yast/yast-security/commit/2eff1f669b1609640ce0318bdcb788a... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-02 (Wed, 02 Nov 2022) Changed paths: M test/y2security/lsm/selinux_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
Commit: 15968f218fd5e01d3869176736531658285c3cf8 https://github.com/yast/yast-security/commit/15968f218fd5e01d386917673653165... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-02 (Wed, 02 Nov 2022) Changed paths: M package/yast2-security.changes M package/yast2-security.spec Log Message: ----------- version + changelog Compare: https://github.com/yast/yast-security/compare/2eff1f669b16%5E...15968f218fd5