Sha256: 738d5bfb639d8a3f19ef9b557990e3533e1f50def9388f130a1e333add3dc3fa

Contents?: true

Size: 445 Bytes

Versions: 29

Compression:

Stored size: 445 Bytes

Contents

require 'spec_helper'

describe PulseMeter::Sensor::Timelined::HashedCounter do
  it_should_behave_like "timeline sensor", {}, {:foo => 1}
  it_should_behave_like "timelined subclass", [{:foo => 1}, {:foo => 2}], {:foo => 3}.to_json
  it_should_behave_like "timelined subclass", [{:foo => 1}, {:foo => :bad_value}], {:foo => 1}.to_json
  it_should_behave_like "timelined subclass", [{:foo => 1}, {:boo => 2}], {:foo => 1, :boo => 2}.to_json
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
pulse_meter_core-0.5.5 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse_meter_core-0.5.4 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse_meter_core-0.5.3 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse_meter_core-0.5.2 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.7 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.6 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.5 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.3 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.2 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.1 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.2.0 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-client-backport-0.1.4 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.1.11 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-client-backport-0.1.3 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.1.10 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-client-backport-0.1.2 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.1.9 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-client-backport-0.1.1 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.1.8 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb
pulse-meter-0.1.7 spec/pulse_meter/sensor/timelined/hashed_counter_spec.rb