Sha256: a2d3bd6f00376905a813a7a837af3e10e7c47effae277a1ec2555289cdfcb019

Contents?: true

Size: 318 Bytes

Versions: 9

Compression:

Stored size: 318 Bytes

Contents

require 'cantango/ability/mode/base_example'

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

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