Sha256: 86e1e067c21ff82ca38e71d70722a36b23ab36ef3871b3fe7672f998e1b8c7b6

Contents?: true

Size: 319 Bytes

Versions: 120

Compression:

Stored size: 319 Bytes

Contents

FactoryGirl.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

120 entries across 120 versions & 1 rubygems

Version Path
metasploit_data_models-2.0.17 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.16 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.15 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.14 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.13 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.12 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.11 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.10 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.9 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.8 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.7 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.6 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.5 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.4 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.1 spec/factories/mdm/listeners.rb
metasploit_data_models-2.0.0 spec/factories/mdm/listeners.rb
metasploit_data_models-1.3.0 spec/factories/mdm/listeners.rb
metasploit_data_models-1.2.11 spec/factories/mdm/listeners.rb
metasploit_data_models-1.2.10 spec/factories/mdm/listeners.rb
metasploit_data_models-1.2.9 spec/factories/mdm/listeners.rb