Sha256: a93979afcf42a14745cf83f1216472531e2a21b714111ba2629cdfb506dbba73

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

FactoryGirl.define do

  factory :message_context, class: Ddr::Alerts::MessageContext do

    trait :ddr do
      context Ddr::Alerts::MessageContext::CONTEXT_DDR
    end

    trait :repository do
      context Ddr::Alerts::MessageContext::CONTEXT_REPOSITORY
    end
    
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ddr-alerts-0.3.0 spec/factories/message_context_factories.rb
ddr-alerts-0.2.0 spec/factories/message_context_factories.rb
ddr-alerts-0.1.1 spec/factories/message_context_factories.rb
ddr-alerts-0.1.0 spec/factories/message_context_factories.rb