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

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