Fix test of double name

This commit is contained in:
Michael Miller 2022-03-19 18:57:39 -06:00
parent b3fa2e3bfe
commit 1657d3577d
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF

View file

@ -25,7 +25,7 @@ Spectator.describe "Double DSL" do
end
it "reports the double name" do
expect { dbl.baz }.to raise_error(Spectator::UnexpectedMessage, /:baz/)
expect { dbl.baz }.to raise_error(Spectator::UnexpectedMessage, /:test/)
end
it "reports the arguments" do