Sha256: b782499a8db8cf5be2eb57ee0c4e3e74b0f6f5e4d94a4ceeae706a8e27f1dc99

Contents?: true

Size: 434 Bytes

Versions: 33

Compression:

Stored size: 434 Bytes

Contents

FactoryBot.define do
  factory :metasploit_credential_origin_session,
          class: Metasploit::Credential::Origin::Session do
    association :session, factory: :mdm_session

    post_reference_name { generate :metasploit_credential_origin_session_post_reference_name }
  end

  sequence :metasploit_credential_origin_session_post_reference_name do |n|
    "metasploit/credential/origin/session/post/reference/name#{n}"
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
metasploit-credential-6.0.11 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.10 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.9 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.8 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.7 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.6 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.5 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.4 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.3 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.2 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.1 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-6.0.0 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.9 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.8 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.7 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.6 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.5 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.4 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.3 spec/factories/metasploit/credential/origin/sessions.rb
metasploit-credential-5.0.2 spec/factories/metasploit/credential/origin/sessions.rb