Sha256: 5d1c26558d9a187a0f7ac8735b65bf9d663fca11ced76cea9e6af4921bebd70c
Contents?: true
Size: 516 Bytes
Versions: 3
Compression:
Stored size: 516 Bytes
Contents
require 'spec_helper' describe Metasploit::Credential::BlankUsername do it_should_behave_like 'Metasploit::Concern.run' context 'database' do context 'columns' do it_should_behave_like 'timestamp database columns' it { should have_db_column(:username).of_type(:string).with_options(null: false) } it { should have_db_column(:type).of_type(:string).with_options(null: false) } end context 'indices' do it { should have_db_index(:username).unique(true) } end end end
Version data entries
3 entries across 3 versions & 1 rubygems