[yast/yast-registration] 6cf0a2: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/rspec-kw-hash Home: https://github.com/yast/yast-registration Commit: 6cf0a257673d332bf5fa0f968a517ce0f13b97f9 https://github.com/yast/yast-registration/commit/6cf0a257673d332bf5fa0f968a5... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M test/helpers_spec.rb M test/registration/clients/scc_auto_test.rb M test/registration_spec.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: 4b958f8b8c22a7ebcedbaf559e42e26686009656 https://github.com/yast/yast-registration/commit/4b958f8b8c22a7ebcedbaf559e4... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M package/yast2-registration.changes M package/yast2-registration.spec Log Message: ----------- version + changelog Compare: https://github.com/yast/yast-registration/compare/6cf0a257673d%5E...4b958f8b...
participants (1)
-
Martin Vidner