[yast/yast-yast2] 11bfa2: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/rspec-kw-hash Home: https://github.com/yast/yast-yast2 Commit: 11bfa2c21150325378c0af2c880103acdc78fd50 https://github.com/yast/yast-yast2/commit/11bfa2c21150325378c0af2c880103acdc... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M library/cwm/test/cwm_test.rb M library/system/test/execute_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: 2933b5ada27a640689b631690ab644c932653afc https://github.com/yast/yast-yast2/commit/2933b5ada27a640689b631690ab644c932... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M package/yast2.changes M package/yast2.spec Log Message: ----------- version + changelog Compare: https://github.com/yast/yast-yast2/compare/11bfa2c21150%5E...2933b5ada27a
participants (1)
-
Martin Vidner