require 'rails_helper'
RSpec.describe Comment, type: :model do
it { is_expected.to have_db_column(:created_at).of_type(:datetime).with_options(preccision: 6, null: false)
end
*** Note spelling error: preccision
It is expected to raise error but no error is raised.
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux] Rails 6.0.0 RSpec 3.8
spec/models/comment_spec.rb:
*** Note spelling error: preccision
It is expected to raise error but no error is raised.