Description: spec: fix Mocha 3+ strict keyword-argument matching in #style test
 Mocha 3.0+ (default on Ruby 3+) now treats `.with(foo: bar)` as real
 keyword arguments, while Prawn::Table#style (lib/prawn/table.rb:254)
 always passes the options hash *positionally*.
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-02-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/table_spec.rb
+++ b/spec/table_spec.rb
@@ -951,7 +951,7 @@ describe "Prawn::Table" do
         " block" do
 
       stylable = stub()
-      stylable.expects(:style).with(:foo => :bar).once.yields
+      stylable.expects(:style).with({:foo => :bar}).once.yields
 
       block = stub()
       block.expects(:kick).once
