Sha256: 9c49ea878880c2b86616a2c6ee6661a4427384422fbc43c004a8be0ee2ea8bda
Contents?: true
Size: 782 Bytes
Versions: 69
Compression:
Stored size: 782 Bytes
Contents
require 'spec_helper' describe Metasploit::Credential::Origin::CrackedPassword do it_should_behave_like 'Metasploit::Concern.run' context 'associations' do it { should have_many(:cores).class_name('Metasploit::Credential::Core').dependent(:destroy) } it { should belong_to(:originating_core).class_name('Metasploit::Credential::Core') } end context 'database' do context 'columns' do it_should_behave_like 'timestamp database columns' context 'foreign keys' do it { should have_db_column(:metasploit_credential_core_id).of_type(:integer).with_options(null: false) } end end context 'indices' do context 'foreign keys' do it { should have_db_index(:metasploit_credential_core_id) } end end end end
Version data entries
69 entries across 69 versions & 1 rubygems