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.8.4 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.8.3-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.8.3 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.8.2 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.8.2-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.8.1-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.8.1 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.17-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.17 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.16-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.16 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.15-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.15 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.14 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.13-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.13 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.12-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.12 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.11-java spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.7.11 spec/support/shared/examples/timestamp_database_column.rb