From f1465c44d87a99459371f5bdbcfb5eb07ccab7cb Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 13 Jul 2022 13:42:44 -0600 Subject: [PATCH] Fix Ameba issues --- spec/issues/github_issue_43_spec.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/issues/github_issue_43_spec.cr b/spec/issues/github_issue_43_spec.cr index 565ba29..45e2eb0 100644 --- a/spec/issues/github_issue_43_spec.cr +++ b/spec/issues/github_issue_43_spec.cr @@ -31,7 +31,7 @@ Spectator.describe Person do person = Person.new(dog) allow(dog).to receive(pet()).and_return("woof") - result = person.pet + person.pet expect(dog).to have_received(pet()).with(2) end @@ -43,7 +43,7 @@ Spectator.describe Person do person = Person.new(dog) allow(dog).to receive(pet()).and_return("woof") - result = person.pet_more + person.pet_more expect(dog).to have_received(pet()).with(5) end