Sha256: d7dbcc98463452e49b583b9f21ddf879976a0c6d1f3e3ec512a54f5b8b0e5363

Contents?: true

Size: 231 Bytes

Versions: 69

Compression:

Stored size: 231 Bytes

Contents

shared_examples_for 'single table inheritance database columns' do
  it { should have_db_column(:id).of_type(:integer).with_options(null: false) }
  it { should have_db_column(:type).of_type(:string).with_options(null: false) }
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
metasploit-credential-0.13.7 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.13.6 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.13.5 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.13.3 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.13.2 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.13.1 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.13.0 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.12.0 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.10.2 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.10.1 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.10.1-java spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.10.1.pre.dep.pre.railties spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.10.0.pre.dep.pre.railties spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.9.1 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.9.0 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.9.0-java spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.8.9 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.8.8 spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.8.7-java spec/support/shared/examples/single_table_inheritance_database_columns.rb
metasploit-credential-0.8.7 spec/support/shared/examples/single_table_inheritance_database_columns.rb