Sha256: 2c58c0ca104e96393f7edd5cfcb82f2e59377290d41b8e689b9c836924d43eae

Contents?: true

Size: 254 Bytes

Versions: 61

Compression:

Stored size: 254 Bytes

Contents

require "rails_helper"

describe ::Ability do
  let(:ability){
    Ability.new
  }

  it { expect(ability).to be_able_to(:create, ::Dorsale::Alexandrie::Attachment) }
  it { expect(ability).to be_able_to(:delete, ::Dorsale::Alexandrie::Attachment) }
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
dorsale-3.0.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-3.0.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-3.0.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-3.0.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.7.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.7.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.7.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.7.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.8 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.7 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.6 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.5 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.4 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.6.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.5.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.4.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.4.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb