Sha256: 1420542b36d3d85c5b3005aa07dbc81beb7daaee608045f07f11a23811b3f439

Contents?: true

Size: 319 Bytes

Versions: 32

Compression:

Stored size: 319 Bytes

Contents

FactoryBot.define do
  factory :mdm_listener, :aliases => [:listener], :class => Mdm::Listener do
    #
    # Associations
    #
    association :workspace, :factory => :mdm_workspace
    association :task, :factory => :mdm_task

    address { generate :mdm_ipv4_address }
    port { generate :mdm_tcp_port }
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 spec/factories/mdm/listeners.rb
metasploit_data_models-6.0.5 spec/factories/mdm/listeners.rb
metasploit_data_models-6.0.4 spec/factories/mdm/listeners.rb
metasploit_data_models-6.0.3 spec/factories/mdm/listeners.rb
metasploit_data_models-6.0.2 spec/factories/mdm/listeners.rb
metasploit_data_models-6.0.1 spec/factories/mdm/listeners.rb
metasploit_data_models-6.0.0 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.6 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.5 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.4 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.3 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.2 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.1 spec/factories/mdm/listeners.rb
metasploit_data_models-5.0.0 spec/factories/mdm/listeners.rb
metasploit_data_models-4.1.4 spec/factories/mdm/listeners.rb
metasploit_data_models-4.1.3 spec/factories/mdm/listeners.rb
metasploit_data_models-4.1.2 spec/factories/mdm/listeners.rb
metasploit_data_models-4.1.1 spec/factories/mdm/listeners.rb
metasploit_data_models-4.1.0 spec/factories/mdm/listeners.rb
metasploit_data_models-4.0.2 spec/factories/mdm/listeners.rb