Remove _spectator_calls method with filter

This commit is contained in:
Michael Miller 2022-06-28 23:02:46 -06:00
parent 3589f23475
commit 8aed5027aa
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2
6 changed files with 5 additions and 12 deletions

View file

@ -355,7 +355,7 @@ Spectator.describe Spectator::Double do
it "stores arguments for a call" do
dbl.foo(42)
args = Spectator::Arguments.capture(42)
call = dbl._spectator_calls(:foo).first
call = dbl._spectator_calls.first
expect(call.arguments).to eq(args)
end
end