Skip to content

Commit

Permalink
updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jayamala17 committed May 23, 2024
1 parent 9fc4578 commit b82dd29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ def test_collect
@metrics.collect
end

@gateway_mock.expect(:add, nil, [@registry_mock])
@gateway_mock.add(@registry_mock)
@gateway_class_mock.verify
@gateway_mock.verify
end
end

0 comments on commit b82dd29

Please sign in to comment.