Sha256: 110290493bac67d0187d38c933449e5cd4f97be7032cd2e811aa011f27ee6a75
Contents?: true
Size: 551 Bytes
Versions: 32
Compression:
Stored size: 551 Bytes
Contents
require 'spec_helper' describe PulseMeter::Visualize::DSL::Widgets::Gauge do it_should_behave_like "dsl widget" let(:interval){ 100 } let(:name) { "some_sensor" } let!(:sensor){ PulseMeter::Sensor::Timelined::Max.new(name, :ttl => 1000, :interval => interval) } let(:widget_name){ "some_widget" } let(:w){ described_class.new(widget_name) } describe "#to_data" do it "should produce PulseMeter::Visualize::Widgets::Gauge class" do w.to_data.should be_kind_of(PulseMeter::Visualize::Widgets::Gauge) end end end
Version data entries
32 entries across 32 versions & 2 rubygems