Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating test_statsd_count_with_name_as_lambda to include sampling rate

  • Loading branch information...
commit f48ec36a67fffe5ae630226ea6ccf49bfa5bf9c9 1 parent 075af85
@freeatnet freeatnet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/statsd-instrument_test.rb
View
2  test/statsd-instrument_test.rb
@@ -134,7 +134,7 @@ def test_statsd_count
def test_statsd_count_with_name_as_lambda
ActiveMerchant::Gateway.statsd_count(:ssl_post, lambda {|object| object.class.to_s.downcase + ".insert"})
- StatsD.expects(:increment).with('gatewaysubclass.insert')
+ StatsD.expects(:increment).with('gatewaysubclass.insert', 1)
GatewaySubClass.new.purchase(true)
end
Please sign in to comment.
Something went wrong with that request. Please try again.