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.14.8 spec/models/mdm/task_spec.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0c spec/models/mdm/task_spec.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0b spec/models/mdm/task_spec.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0 spec/models/mdm/task_spec.rb
metasploit-credential-0.14.5 spec/models/mdm/task_spec.rb
metasploit-credential-0.14.4 spec/models/mdm/task_spec.rb
metasploit-credential-0.14.3 spec/models/mdm/task_spec.rb
metasploit-credential-0.14.2 spec/models/mdm/task_spec.rb
metasploit-credential-0.14.1 spec/models/mdm/task_spec.rb
metasploit-credential-0.14.0 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.19 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.18 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.17 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.16 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.15 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.12 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.11 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.10 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.9 spec/models/mdm/task_spec.rb
metasploit-credential-0.13.8 spec/models/mdm/task_spec.rb