Sha256: 5f3279154058b35c686f4acb85c747fcdc958505d01f2a934e4ae298e4d6606e

Contents?: true

Size: 181 Bytes

Versions: 3

Compression:

Stored size: 181 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metasploit-credential-1.0.0.pre.rails.pre.4.0c spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0b spec/support/shared/examples/timestamp_database_column.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0 spec/support/shared/examples/timestamp_database_column.rb