Sha256: 2f571526d7cd75abee6e0b1a5ac2601a3a82a718971125ef6da83f9e507b9dbb

Contents?: true

Size: 361 Bytes

Versions: 11

Compression:

Stored size: 361 Bytes

Contents

# Read about factories at http://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :"tengine/core/event" do
    event_type_name("event01")
    key { @uuid ||= UUID.new; @uuid.generate }
    source_name("server1")
    occurred_at { Time.now.utc }
    level(2) # info
    confirmed(false)
    sender_name("server1")
    properties({})
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tengine_core-0.5.39 spec/factories/tengine_core_events.rb
tengine_core-0.5.38 spec/factories/tengine_core_events.rb
tengine_core-0.5.37 spec/factories/tengine_core_events.rb
tengine_core-0.5.36 spec/factories/tengine_core_events.rb
tengine_core-0.5.35 spec/factories/tengine_core_events.rb
tengine_core-0.5.34 spec/factories/tengine_core_events.rb
tengine_core-0.5.33 spec/factories/tengine_core_events.rb
tengine_core-0.5.32 spec/factories/tengine_core_events.rb
tengine_core-0.5.31 spec/factories/tengine_core_events.rb
tengine_core-0.5.30 spec/factories/tengine_core_events.rb
tengine_core-0.5.28 spec/factories/tengine_core_events.rb