Skip to content

Commit 1d11b62

Browse files
sl0thentr0pysolnic
andauthored
Update sentry-ruby/spec/sentry/hub_spec.rb
Co-authored-by: Peter Solnica <peter@solnica.online>
1 parent 3b9d31b commit 1d11b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry-ruby/spec/sentry/hub_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@
673673
expect(subject.current_client).to receive(:buffer_metric_event).and_call_original
674674
expect do
675675
subject.capture_metric(name: "test", type: :counter, value: 1)
676-
end.to change { subject.current_client.metric_event_buffer.pending_items.count }.by(1)
676+
end.to change { subject.current_client.metric_event_buffer.size }.by(1)
677677
end
678678
end
679679
end

0 commit comments

Comments
 (0)