Sha256: b54a063b5d72ffd38a3152eec94a1b55bdafe50f9e9e9002ef987c5d656d1e32
Contents?: true
Size: 536 Bytes
Versions: 51
Compression:
Stored size: 536 Bytes
Contents
RSpec.describe Metasploit::Credential::BlankUsername, type: :model do it_should_behave_like 'Metasploit::Concern.run' context 'database' do context 'columns' do it_should_behave_like 'timestamp database columns' it { is_expected.to have_db_column(:username).of_type(:string).with_options(null: false) } it { is_expected.to have_db_column(:type).of_type(:string).with_options(null: false) } end context 'indices' do it { is_expected.to have_db_index(:username).unique(true) } end end end
Version data entries
51 entries across 51 versions & 1 rubygems