Sha256: 9b43df97546baf354dc2f3f78df2289990f2fcaf9b7987dc38f8234327484bc7
Contents?: true
Size: 718 Bytes
Versions: 12
Compression:
Stored size: 718 Bytes
Contents
require 'rails_helper' RSpec.describe ::Dorsale::CustomerVault::Corporation, type: :model do it { is_expected.to have_one(:address).dependent(:destroy) } it { is_expected.to have_many :comments } it { is_expected.to have_many :taggings } it { is_expected.to have_many :tags } it { is_expected.to have_many(:tasks).dependent(:destroy) } it { is_expected.to respond_to :legal_form } it { is_expected.to respond_to :capital } it { is_expected.to respond_to :immatriculation_number_1 } it { is_expected.to respond_to :immatriculation_number_2 } it { is_expected.to have_many(:comments).dependent(:destroy) } it { is_expected.to validate_presence_of :corporation_name } end
Version data entries
12 entries across 12 versions & 1 rubygems