[yast/yast-packager] cc473e: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/master Home: https://github.com/yast/yast-packager Commit: cc473e05481f1f03962d400df902d8f8df733621 https://github.com/yast/yast-packager/commit/cc473e05481f1f03962d400df902d8f... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M test/addon_product_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: 22422b5df8eb341191e1e7e4d51c8d032ba1bcfd https://github.com/yast/yast-packager/commit/22422b5df8eb341191e1e7e4d51c8d0... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M package/yast2-packager.changes M package/yast2-packager.spec Log Message: ----------- version + changelog Commit: e1d8d11d4522ab3ced8e41bb6a90beaf393e03d0 https://github.com/yast/yast-packager/commit/e1d8d11d4522ab3ced8e41bb6a90bea... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-04 (Fri, 04 Nov 2022) Changed paths: M package/yast2-packager.changes M package/yast2-packager.spec M test/addon_product_test.rb Log Message: ----------- Merge pull request #626 from yast/rspec-kw-hash Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) Compare: https://github.com/yast/yast-packager/compare/99eb5a5b448c...e1d8d11d4522
participants (1)
-
Martin Vidner