Fix Arguments to_s

This commit is contained in:
Michael Miller 2022-10-23 15:27:39 -06:00
parent e38e3ecc32
commit 163f94287e
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF
2 changed files with 4 additions and 5 deletions

View file

@ -44,7 +44,7 @@ Spectator.describe Spectator::Arguments do
subject { arguments.to_s }
it "formats the arguments" do
is_expected.to eq("(42, \"foo\", bar: \"baz\", qux: 123)")
is_expected.to eq("(42, \"foo\", *splat: {:x, :y, :z}, bar: \"baz\", qux: 123)")
end
context "when empty" do