Sha256: 9d034ac14b3b881ea8f971d7155d4095197050f495b0377836724b7356bc92ee

Contents?: true

Size: 328 Bytes

Versions: 9

Compression:

Stored size: 328 Bytes

Contents

require 'cantango/ability/mode/base_example'

module CanTango::Ability::Mode
  class NoCache
    def calculate_rules
      can :read, Post
    end
  end
end

describe CanTango::Ability::Mode::NoCache do
  it_should_behave_like CanTango::Ability::Mode::Base do
    let(:mode_class) { CanTango::Ability::Mode::NoCache }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cantango-core-0.1.9.3 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.9.2 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.9.1 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.9 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.8 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.7 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.6 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.5 spec/cantango/ability/mode/no_cache_spec.rb
cantango-core-0.1.4 spec/cantango/ability/mode/no_cache_spec.rb