Sha256: f28b42f69078c10b2baf46f5711e7a5f4de85b3443183b12b79fb6b91885881f

Contents?: true

Size: 421 Bytes

Versions: 69

Compression:

Stored size: 421 Bytes

Contents

require 'spec_helper'

describe Mdm::Task do
  context 'associations' do
    it { should have_many(:import_credential_origins).class_name('Metasploit::Credential::Origin::Import').dependent(:destroy) }
    it { should have_and_belong_to_many(:credential_cores).class_name('Metasploit::Credential::Core') }
    it { should have_and_belong_to_many(:credential_logins).class_name('Metasploit::Credential::Login') }
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
metasploit-credential-0.7.12 spec/models/mdm/task_spec.rb
metasploit-credential-0.7.11-java spec/models/mdm/task_spec.rb
metasploit-credential-0.7.11 spec/models/mdm/task_spec.rb
metasploit-credential-0.7.10-java spec/models/mdm/task_spec.rb
metasploit-credential-0.7.10 spec/models/mdm/task_spec.rb
metasploit-credential-0.7.10.pre.core.pre.search spec/models/mdm/task_spec.rb
metasploit-credential-0.7.9.pre.core.pre.search spec/models/mdm/task_spec.rb
metasploit-credential-0.7.8 spec/models/mdm/task_spec.rb
metasploit-credential-0.7.8-java spec/models/mdm/task_spec.rb