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.14.8 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.14.5 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.14.4 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.14.3 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.14.2 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.14.1 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.14.0 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.19 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.18 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.17 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.16 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.15 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.12 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.11 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.10 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.9 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.8 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.7 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.6 spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-0.13.5 spec/support/shared/examples/timestamp_database_column.rb