When we develop a new feature, it's common to add a new column that needs some
validations in the model. So, we might write something like this:
class Book < ApplicationRecord
#...
validates :barcode, presence: true
end
To increase the test coverage, adding the test example is necessary:
RSpec.describe Book, type: