Skip to content

Commit f72a656

Browse files
committed
Fix another spec
1 parent 0b27d63 commit f72a656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/gitlab/metrics/method_call_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
expect(metric.values[:duration]).to be_a_kind_of(Numeric)
2525
expect(metric.values[:cpu_duration]).to be_a_kind_of(Numeric)
26-
expect(metric.values[:call_count]).to an_instance_of(Integer)
26+
expect(metric.values[:call_count]).to be_an(Integer)
2727

2828
expect(metric.tags).to eq({ method: 'Foo#bar' })
2929
end

0 commit comments

Comments
 (0)