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-6.0.11 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.10 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.9 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.8 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.7 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.6 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.5 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.4 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.3 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.2 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.1 spec/models/mdm/service_spec.rb
metasploit-credential-6.0.0 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.9 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.8 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.7 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.6 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.5 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.4 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.3 spec/models/mdm/service_spec.rb
metasploit-credential-5.0.2 spec/models/mdm/service_spec.rb