We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b27d63 commit f72a656Copy full SHA for f72a656
spec/lib/gitlab/metrics/method_call_spec.rb
@@ -23,7 +23,7 @@
23
24
expect(metric.values[:duration]).to be_a_kind_of(Numeric)
25
expect(metric.values[:cpu_duration]).to be_a_kind_of(Numeric)
26
- expect(metric.values[:call_count]).to an_instance_of(Integer)
+ expect(metric.values[:call_count]).to be_an(Integer)
27
28
expect(metric.tags).to eq({ method: 'Foo#bar' })
29
end
0 commit comments