Sha256: c03fa5b84c28848a625f586cfe94f842a72b1c60b0ecceb2c9f33f5477c6530b
Contents?: true
Size: 373 Bytes
Versions: 72
Compression:
Stored size: 373 Bytes
Contents
require "rails_helper" RSpec.describe Dorsale::Comment, type: :model do it { is_expected.to belong_to :author } it { is_expected.to validate_presence_of :author } it { is_expected.to belong_to :commentable } it { is_expected.to validate_presence_of :commentable } it "should have a valid factory" do expect(create(:dorsale_comment)).to be_valid end end
Version data entries
72 entries across 72 versions & 1 rubygems