[yast/yast-autoinstallation] c4eba3: Fix hash vs keyword arguments in RSpec expectation...
Branch: refs/heads/rspec-kw-hash Home: https://github.com/yast/yast-autoinstallation Commit: c4eba37f686c0506d11795decbbc48cf5e08afed https://github.com/yast/yast-autoinstallation/commit/c4eba37f686c0506d11795d... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-24 (Thu, 24 Nov 2022) Changed paths: M test/AutoInstallRules_test.rb M test/lib/clients/ayast_setup_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: e361bafc975c9991631b6ddfa18d307e6b4809f2 https://github.com/yast/yast-autoinstallation/commit/e361bafc975c9991631b6dd... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-24 (Thu, 24 Nov 2022) Changed paths: M package/autoyast2.changes M package/autoyast2.spec Log Message: ----------- version + changelog Commit: f4886946de64caa8163103124351aa81a44fb271 https://github.com/yast/yast-autoinstallation/commit/f4886946de64caa81631031... Author: Martin Vidner <mvidner@suse.cz> Date: 2022-11-24 (Thu, 24 Nov 2022) Changed paths: M test/lib/autosetup_helpers_test.rb Log Message: ----------- Fix tests when yast2-trans-de is installed An unstubbed SetLanguage would make further examples (which compare translated error messages) fail Compare: https://github.com/yast/yast-autoinstallation/compare/a57dd88152e8...f488694...
participants (1)
-
Martin Vidner