From 1657d3577d5ff0294ac510eb03e1646544c06e37 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 19 Mar 2022 18:57:39 -0600 Subject: [PATCH] Fix test of double name --- spec/spectator/dsl/mocks/double_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spectator/dsl/mocks/double_spec.cr b/spec/spectator/dsl/mocks/double_spec.cr index 5622f63..60e3bd4 100644 --- a/spec/spectator/dsl/mocks/double_spec.cr +++ b/spec/spectator/dsl/mocks/double_spec.cr @@ -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