spec/support/shared/examples/timestamp_database_column.rb in metasploit-credential-0.14.7 vs spec/support/shared/examples/timestamp_database_column.rb in metasploit-credential-0.14.8
- old
+ new
@@ -1,4 +1,4 @@
shared_examples_for 'timestamp database columns' do
- it { is_expected.to have_db_column(:created_at).of_type(:datetime).with_options(null: false) }
- it { is_expected.to have_db_column(:updated_at).of_type(:datetime).with_options(null: false) }
+ 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
\ No newline at end of file