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.4.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.4.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.3.5 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.3.4 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.3.3 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.3.2 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.3.1 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.3.0 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.16 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.15 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.14 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.13 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.12 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.11 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.10 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.9 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.8 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.6 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.5 spec/models/dorsale/alexandrie/ability_helper_spec.rb
dorsale-2.2.4 spec/models/dorsale/alexandrie/ability_helper_spec.rb