[yast/yast-yast2] 11bfa2: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/master 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 Commit: aa302a71e3fb71c23e80b4cc49799ce98b180f46 https://github.com/yast/yast-yast2/commit/aa302a71e3fb71c23e80b4cc49799ce98b... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-04 (Fri, 04 Nov 2022) Changed paths: M library/cwm/test/cwm_test.rb M library/system/test/execute_test.rb M package/yast2.changes M package/yast2.spec Log Message: ----------- Merge pull request #1279 from yast/rspec-kw-hash Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) Compare: https://github.com/yast/yast-yast2/compare/a2c1a480da76...aa302a71e3fb
participants (1)
-
Martin Vidner