Address Ameba issue

This commit is contained in:
Michael Miller 2022-07-10 17:59:49 -06:00
parent 9eb2946be6
commit ae8421c29e
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF

View file

@ -3,7 +3,7 @@ require "../../spec_helper"
Spectator.describe Spectator::ProcStub do
let(method_call) { Spectator::MethodCall.capture(:foo) }
let(location) { Spectator::Location.new(__FILE__, __LINE__) }
let(proc) { Proc(Spectator::AbstractArguments, Int32).new { |args| @call_count += 1 } }
let(proc) { Proc(Spectator::AbstractArguments, Int32).new { @call_count += 1 } }
subject(stub) { described_class.new(:foo, proc, location: location) }
@call_count = 0