Sha256: 5ca1c26339d0e025fe6fde713d250c4f7893474f6a17ae144cd33d97425e616e

Contents?: true

Size: 188 Bytes

Versions: 5

Compression:

Stored size: 188 Bytes

Contents

FactoryGirl.define do

  factory :message, class: Ddr::Alerts::Message do
    
    trait :active do
      active true
    end

    trait :inactive do
      active false
    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddr-alerts-2.0.0 spec/factories/message_factories.rb
ddr-alerts-2.0.0.rc1 spec/factories/message_factories.rb
ddr-alerts-1.1.0 spec/factories/message_factories.rb
ddr-alerts-1.1.0.rc1 spec/factories/message_factories.rb
ddr-alerts-1.0.0 spec/factories/message_factories.rb