Sha256: 396ce3da2fbea31b0c37622d8b17739f7ba24424311d00ad8033eb2038bd13b1
Contents?: true
Size: 311 Bytes
Versions: 5
Compression:
Stored size: 311 Bytes
Contents
require 'spec_helper' describe Simple::Metrics do class Rdio extend Simple::Metrics::Meter define_meter :bump_meter def bump_dat bump_meter.mark end end let(:rdio) { Rdio.new } it "should increment a meter" do rdio.bump_dat rdio.bump_meter.count.should == 1 end end
Version data entries
5 entries across 5 versions & 2 rubygems