Sha256: f9587ff40f8c0879b7c168e1dfb52f9d5bd20a9d9749667438b1a50514f252a4
Contents?: true
Size: 374 Bytes
Versions: 43
Compression:
Stored size: 374 Bytes
Contents
require 'rails_helper' module Cmor::Files RSpec.describe Folder, type: :model do it { expect(subject).to respond_to(:assets=) } it { expect(subject).to respond_to(:assets) } it { expect(subject).to respond_to(:assets_count) } it { expect(subject).to validate_presence_of(:name) } it { expect(subject).to validate_uniqueness_of(:name) } end end
Version data entries
43 entries across 43 versions & 1 rubygems