Sha256: ddb70316bcbc12c84ac9e12d03eb86ce25269835549d910f78f359007cf84024

Contents?: true

Size: 322 Bytes

Versions: 53

Compression:

Stored size: 322 Bytes

Contents

RSpec.describe Mdm::Service, type: :model do
  context 'associations' do
    it { is_expected.to have_many(:credential_origins).class_name('Metasploit::Credential::Origin::Service').dependent(:destroy) }
    it { is_expected.to have_many(:logins).class_name('Metasploit::Credential::Login').dependent(:destroy) }
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
metasploit-credential-5.0.1 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.0 spec/models/mdm/service_spec.rb
metasploit-credential-4.0.5 spec/models/mdm/service_spec.rb
metasploit-credential-4.0.4 spec/models/mdm/service_spec.rb
metasploit-credential-4.0.3 spec/models/mdm/service_spec.rb
metasploit-credential-4.0.2 spec/models/mdm/service_spec.rb
metasploit-credential-4.0.1 spec/models/mdm/service_spec.rb
metasploit-credential-4.0.0 spec/models/mdm/service_spec.rb
metasploit-credential-3.0.4 spec/models/mdm/service_spec.rb
metasploit-credential-3.0.3 spec/models/mdm/service_spec.rb
metasploit-credential-3.0.2 spec/models/mdm/service_spec.rb
metasploit-credential-3.0.1 spec/models/mdm/service_spec.rb
metasploit-credential-3.0.0 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.14 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.13 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.12 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.11 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.10 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.9 spec/models/mdm/service_spec.rb
metasploit-credential-2.0.8 spec/models/mdm/service_spec.rb