Sha256: 35f82ef334ab5f3a5f7dd2b7b25615563617075f15e09a35a1684b58c479c564
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
require 'spec_helper' describe Metric do before do reset_config end it "passes through options to track" do Metric::Track.should_receive(:track).with("hits", {}) Metric.track("hits") end it "passes through options to receive" do Metric::Receive.should_receive(:receive).with("hits", "total") Metric.receive("hits", "total") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metric-0.0.6 | spec/metric_spec.rb |