Sha256: aad7afe434cce67eace4f007ba9027a558a373be5ad62cfc518f90b795caae63

Contents?: true

Size: 300 Bytes

Versions: 42

Compression:

Stored size: 300 Bytes

Contents

FactoryGirl.define do
  factory :metasploit_credential_public,
          class: Metasploit::Credential::Public do
    username { generate :metasploit_credential_public_username }
  end

  sequence :metasploit_credential_public_username do |n|
    "metasploit_credential_public_username#{n}"
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
metasploit-credential-0.12.0 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.10.2 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.10.1 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.10.1-java spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.10.1.pre.dep.pre.railties spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.10.0.pre.dep.pre.railties spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.9.1 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.9.0 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.9.0-java spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.9 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.8 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.7-java spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.7 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.6 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.6.pre.realm.pre.uniqueness spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.4-java spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.4 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.3-java spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.3 spec/factories/metasploit/credential/publics.rb
metasploit-credential-0.8.2 spec/factories/metasploit/credential/publics.rb