Fix Ameba issues

This commit is contained in:
Michael Miller 2022-07-13 13:42:44 -06:00
parent aa9ca7a98e
commit f1465c44d8
No known key found for this signature in database
GPG Key ID: 32B47AE8F388A1FF
1 changed files with 2 additions and 2 deletions

View File

@ -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