http://bugzilla.opensuse.org/show_bug.cgi?id=1204871 http://bugzilla.opensuse.org/show_bug.cgi?id=1204871#c2 Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |mvidner@suse.com --- Comment #2 from Martin Vidner <mvidner@suse.com> --- Thanks for the report! The failures look like this: "expected keywords, hot a hash" 1) Registration::Helpers.write_config writes the current configuration Failure/Error: Registration::Helpers.write_config #<SUSE::Connect::YaST (class)> received :write_config with unexpected arguments expected: ({:insecure=>false, :url=>"https://example.com"}) (keyword arguments) got: ({:insecure=>false, :url=>"https://example.com"}) (options hash) # ./src/lib/registration/helpers.rb:155:in `write_config' # ./test/helpers_spec.rb:178:in `block (3 levels) in <top (required)>' It is because of this change: 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 (Andrii Malyshko, #1473) "Fix `with` for instance doubles didn't verify Ruby 3 keyword arguments" https://github.com/rspec/rspec-mocks/pull/1473 is a fixup, the main change with explanations is "Make `with` support Ruby 3 keywords" https://github.com/rspec/rspec-mocks/pull/1394 -- You are receiving this mail because: You are on the CC list for the bug.