Sha256: 6323f120f244d68ea8b5411413d41a94a290dd983d3bc0ed3ecbb03ff338f897

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 Bytes

Contents

require 'spec_helper'

describe Sufia::Permissions::Writable do

  class SampleModel < ActiveFedora::Base
    include Sufia::Permissions::Writable
  end
  let(:subject) { SampleModel.new }

  describe "#permissions" do
    it "should initialize with nothing specified" do
      expect(subject.permissions).to be_empty
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sufia-6.2.0 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.1.0 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.0.0 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.0.0.rc4 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.0.0.rc3 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.0.0.rc2 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.0.0.rc1 spec/lib/sufia/writable_permissions_spec.rb
sufia-6.0.0.beta1 spec/lib/sufia/writable_permissions_spec.rb