Sha256: dc999d3c5c3392412b77338e8a3acb107d6af05c1491ad8fd941e3bfeae11c46

Contents?: true

Size: 637 Bytes

Versions: 31

Compression:

Stored size: 637 Bytes

Contents

FactoryGirl.define do
  factory :dummy_reference,
          :class => Dummy::Reference,
          :traits => [
              :metasploit_model_base,
              :metasploit_model_reference
          ] do
    #
    # Associations
    #

    association :authority, :factory => :dummy_authority

    factory :obsolete_dummy_reference,
            :traits => [
                :obsolete_metasploit_model_reference
            ] do
      association :authority, :factory => :obsolete_dummy_authority
    end

    factory :url_dummy_reference,
            :traits => [
                :url_metasploit_model_reference
            ]
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.28.0 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.28.0-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.4 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.4-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.3 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.3-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.2 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.2-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.1 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.1-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.0 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.0-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.26.1-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.26.1 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.25.7 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.25.7-java spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.25.6 spec/dummy/spec/factories/dummy/references.rb
metasploit-model-0.25.6-java spec/dummy/spec/factories/dummy/references.rb