Sha256: b9cd98dcdb8551e4b9ef1d7bab094c2b2908266771e1ebe958fcdcdd4a28e2d7

Contents?: true

Size: 233 Bytes

Versions: 66

Compression:

Stored size: 233 Bytes

Contents

shared_examples_for 'timestamp database columns' do
  it { should have_db_column(:created_at).of_type(:datetime).with_options(null: false) }
  it { should have_db_column(:updated_at).of_type(:datetime).with_options(null: false) }
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
metasploit-credential-0.7.10-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.10 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.10.pre.core.pre.search spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.9.pre.core.pre.search spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.8 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.8-java spec/support/shared/examples/timestamp_database_column.rb