Sha256: 1289214498163f133ae470794719e2b998f70b035f6fb5a1d16ce4431cfc7bb4
Contents?: true
Size: 339 Bytes
Versions: 15
Compression:
Stored size: 339 Bytes
Contents
require "rails_helper" describe ::Dorsale::Alexandrie::Attachment, type: :model do it { is_expected.to belong_to :attachable } it { is_expected.to validate_presence_of :attachable } it { is_expected.to validate_presence_of :file } it "factory should be valid" do expect(create(:alexandrie_attachment)).to be_valid end end
Version data entries
15 entries across 15 versions & 1 rubygems