Sha256: 7ea920bb2248fabcbdbc679932efcbd89489f3b53de0b6f70058ca4ea78c0ebc

Contents?: true

Size: 248 Bytes

Versions: 125

Compression:

Stored size: 248 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :mdm_task_host, :class => 'Mdm::TaskHost' do

    association :task, :factory => :mdm_task
    association :host, :factory => :mdm_host
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

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