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.13.7 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.6 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.5 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.3 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.2 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.1 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.0 spec/models/mdm/task_spec.rb
metasploit-credential-0.12.0 spec/models/mdm/task_spec.rb
metasploit-credential-0.10.2 spec/models/mdm/task_spec.rb
metasploit-credential-0.10.1 spec/models/mdm/task_spec.rb
metasploit-credential-0.10.1-java spec/models/mdm/task_spec.rb
metasploit-credential-0.10.1.pre.dep.pre.railties spec/models/mdm/task_spec.rb
metasploit-credential-0.10.0.pre.dep.pre.railties spec/models/mdm/task_spec.rb
metasploit-credential-0.9.1 spec/models/mdm/task_spec.rb
metasploit-credential-0.9.0 spec/models/mdm/task_spec.rb
metasploit-credential-0.9.0-java spec/models/mdm/task_spec.rb
metasploit-credential-0.8.9 spec/models/mdm/task_spec.rb
metasploit-credential-0.8.8 spec/models/mdm/task_spec.rb
metasploit-credential-0.8.7-java spec/models/mdm/task_spec.rb
metasploit-credential-0.8.7 spec/models/mdm/task_spec.rb