[yast/yast-registration] ec0648: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/master Home: https://github.com/yast/yast-registration Commit: ec06488d35a7b05cecb722bb464eaa847c90134d https://github.com/yast/yast-registration/commit/ec06488d35a7b05cecb722bb464... 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: 5b521611a64bb6117fe6e2b99c8c31b7e885a108 https://github.com/yast/yast-registration/commit/5b521611a64bb6117fe6e2b99c8... 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 Commit: 0d7fdc10855d49239a1da2f5730db736b32742b2 https://github.com/yast/yast-registration/commit/0d7fdc10855d49239a1da2f5730... 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 M test/helpers_spec.rb M test/registration/clients/scc_auto_test.rb M test/registration_spec.rb Log Message: ----------- Merge pull request #584 from yast/rspec-kw-hash Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) Compare: https://github.com/yast/yast-registration/compare/0fb58973d6dd...0d7fdc10855...
participants (1)
-
Martin Vidner