Sha256: 05c39c5ec51f40e8bada87b1b8dbebe6446e5c86d9463d989d118cc59d8357da

Contents?: true

Size: 500 Bytes

Versions: 32

Compression:

Stored size: 500 Bytes

Contents

FactoryBot.define do
  factory :mdm_workspace, :class => Mdm::Workspace do
    #
    # Associations
    #
    association :owner, :factory => :mdm_user

    #
    # Attributes
    #
    boundary { generate :mdm_ipv4_address }
    description { generate :mdm_workspace_description }
    name { generate :mdm_workspace_name }
  end

  sequence :mdm_workspace_description do |n|
    "Mdm::Workspace description #{n}"
  end

  sequence :mdm_workspace_name do |n|
    "Mdm::Workspace Name #{n}"
  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/workspaces.rb
metasploit_data_models-6.0.5 spec/factories/mdm/workspaces.rb
metasploit_data_models-6.0.4 spec/factories/mdm/workspaces.rb
metasploit_data_models-6.0.3 spec/factories/mdm/workspaces.rb
metasploit_data_models-6.0.2 spec/factories/mdm/workspaces.rb
metasploit_data_models-6.0.1 spec/factories/mdm/workspaces.rb
metasploit_data_models-6.0.0 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.6 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.5 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.4 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.3 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.2 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.1 spec/factories/mdm/workspaces.rb
metasploit_data_models-5.0.0 spec/factories/mdm/workspaces.rb
metasploit_data_models-4.1.4 spec/factories/mdm/workspaces.rb
metasploit_data_models-4.1.3 spec/factories/mdm/workspaces.rb
metasploit_data_models-4.1.2 spec/factories/mdm/workspaces.rb
metasploit_data_models-4.1.1 spec/factories/mdm/workspaces.rb
metasploit_data_models-4.1.0 spec/factories/mdm/workspaces.rb
metasploit_data_models-4.0.2 spec/factories/mdm/workspaces.rb