Sha256: a566cc13872e42e2bf535ada41dfeca1d8a65b1d14c3844894fb4730cd06563e
Contents?: true
Size: 313 Bytes
Versions: 57
Compression:
Stored size: 313 Bytes
Contents
require "rails_helper" describe ::Dorsale::Alexandrie::AttachmentType, type: :model do it { is_expected.to have_many(:attachments).dependent(:nullify) } it { is_expected.to validate_presence_of :name } it "factory should be valid" do expect(create(:alexandrie_attachment_type)).to be_valid end end
Version data entries
57 entries across 57 versions & 1 rubygems