[yast/yast-installation] 719ec9: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/rspec-kw-hash Home: https://github.com/yast/yast-installation Commit: 719ec92236aa9de7c0b03b4d6ecdeb21cbed3a04 https://github.com/yast/yast-installation/commit/719ec92236aa9de7c0b03b4d6ec... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-24 (Thu, 24 Nov 2022) Changed paths: M test/lib/clients/inst_download_release_notes_test.rb M test/system_role_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: 2fe904ced9cfd98b1c6f89c11d2c5f43fb25666c https://github.com/yast/yast-installation/commit/2fe904ced9cfd98b1c6f89c11d2... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-24 (Thu, 24 Nov 2022) Changed paths: M package/yast2-installation.changes M package/yast2-installation.spec Log Message: ----------- version + changelog Compare: https://github.com/yast/yast-installation/compare/17d3d9aae1ed...2fe904ced9c...
participants (1)
-
Martin Vidner