Sha256: 1637ea65e8421dc8fe96d2903ee5054d96b7af110c5416234f0b4bda3283a5af
Contents?: true
Size: 507 Bytes
Versions: 4
Compression:
Stored size: 507 Bytes
Contents
FactoryGirl.define do factory :data_common, :default_strategy => :build do time { Time.now } host "localhost" plugin "memory" plugin_instance nil type "memory" type_instance "active" end factory :data_point, :parent => :data_common, :class => "RRDNotifier::Packet" do values { [rand(200)] } interval 10 end factory :notification, :parent => :data_common, :class => "RRDNotifier::Packet" do severity 1 message "notification message" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rrd-grapher-1.0.3 | spec/factories.rb |
rrd-grapher-1.0.2 | spec/factories.rb |
rrd-grapher-1.0.1 | spec/factories.rb |
rrd-grapher-1.0.0 | spec/factories.rb |