Sha256: da578af47f2a1a684b9790bbbd2e0eeea1ea234d0be7743f0bcea466000261cb
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
require 'rails_helper' RSpec.describe ::Dorsale::CustomerVault::Event, type: :model do it { is_expected.to belong_to :author } it { is_expected.to belong_to :person } it { is_expected.to validate_presence_of :person } it { is_expected.to validate_presence_of :action } it { is_expected.to_not validate_presence_of :author } it { is_expected.to_not validate_presence_of :contact_type } it "should have a valid factory" do event = create(:customer_vault_event) expect(event).to be_valid end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dorsale-3.8.0 | spec/models/dorsale/customer_vault/event_spec.rb |