Commit f3959746 authored by Reuben Pereira's avatar Reuben Pereira Committed by Ethan Urie

Change to use `instance_double` per review suggestion

parent 44cea3d9
......@@ -116,7 +116,7 @@ RSpec.describe Spam::SpamVerdictService do
end
context 'records metrics' do
let(:histogram) { double('histogram') }
let(:histogram) { instance_double(Prometheus::Client::Histogram) }
using RSpec::Parameterized::TableSyntax
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment