thingspeak/spec/factories/feed.rb
2014-02-17 12:05:39 -05:00

13 lines
261 B
Ruby

FactoryGirl.define do
factory :feed do
field1 "foo"
field2 "10"
entry_id 1
latitude "51.477222"
longitude "0.0"
created_at (Time.now - 20.minutes)
updated_at (Time.now - 20.minutes)
sequence(:status) {|n| "foo#{n}" }
end
end