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-2.2.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.15 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.14 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.13 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.12 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.11 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.10 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.9 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.8 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.7 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.6 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.5 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.4 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.1.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb