mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix Ameba issues
This commit is contained in:
parent
aa9ca7a98e
commit
f1465c44d8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue