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

Version Path
cmor_files-0.0.44.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.43.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.42.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.41.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.40.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.39.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.38.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.37.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.36.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.35.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.34.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.33.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.32.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.31.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.30.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.29.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.28.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.27.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.26.pre spec/models/cmor/files/folder_spec.rb
cmor_files-0.0.25.pre spec/models/cmor/files/folder_spec.rb