[yast/yast-registration] ec0648: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/rspec-kw-hash 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 Compare: https://github.com/yast/yast-registration/compare/4b958f8b8c22...5b521611a64...
participants (1)
-
Martin Vidner