Sha256: f0c2dfdae231af734c5076e2f2b6a0eb3c5e708e6ff37e0487068ca5315af595

Contents?: true

Size: 425 Bytes

Versions: 31

Compression:

Stored size: 425 Bytes

Contents

FactoryGirl.define do
  sequence :metasploit_model_email_address_domain do |n|
    "metasploit-model-email-address-domain#{n}.com"
  end

  sequence :metasploit_model_email_address_local do |n|
    "metasploit.model.email.address.local+#{n}"
  end

  trait :metasploit_model_email_address do
    domain { generate :metasploit_model_email_address_domain }
    local { generate :metasploit_model_email_address_local }
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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