Sha256: 2a8bf56f1fcd1914075539774438938f11f3663a4317ae5724dfbcaec3e901c9

Contents?: true

Size: 351 Bytes

Versions: 18

Compression:

Stored size: 351 Bytes

Contents

require 'spec_helper'

describe CanTango::Configuration::PermitRegistry do
  before do
    @permit_registry = CanTango::Configuration::PermitRegistry.new
  end

  it "should respond to permits groups methods" do
    [:user, :account, :role, :role_group].each do |permit_group|
      @permit_registry.should respond_to(permit_group)
    end
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cantango-0.9.4.3 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.9.4.2 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.9.4.1 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.9.4 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.9.3.2 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.9.5 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.9.4 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.9.3 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.9.2 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.9.1 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.9 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.8.1 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.8 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.7 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.6.2 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.6.1 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.6 spec/cantango/configuration/permit_registry_spec.rb
cantango-0.8.5.1 spec/cantango/configuration/permit_registry_spec.rb