Sha256: b48947670ce0e28a22e689c1f6bc851682df3b6e6086c44c04ce3e59ff6900b9

Contents?: true

Size: 445 Bytes

Versions: 73

Compression:

Stored size: 445 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Hydra::Controller::ControllerBehavior do
  
  before(:all) do
    class CatalogTest < ApplicationController
      include Hydra::Controller::ControllerBehavior
    end
    @catalog = CatalogTest.new
  end

  it "should extend classes with the necessary Hydra modules" do
    CatalogTest.included_modules.should include(Hydra::AccessControlsEnforcement)
  end
  
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
hydra-core-6.4.0.rc5 spec/lib/catalog_spec.rb
hydra-core-6.4.0.rc4 spec/lib/catalog_spec.rb
hydra-core-6.4.0.rc3 spec/lib/catalog_spec.rb
hydra-core-6.4.0.rc2 spec/lib/catalog_spec.rb
hydra-core-6.4.0.rc1 spec/lib/catalog_spec.rb
hydra-core-6.4.0.pre2 spec/lib/catalog_spec.rb
hydra-core-6.4.0.pre1 spec/lib/catalog_spec.rb
hydra-core-6.3.4 spec/lib/catalog_spec.rb
hydra-core-6.3.3 spec/lib/catalog_spec.rb
hydra-core-6.3.2 spec/lib/catalog_spec.rb
hydra-core-6.3.1 spec/lib/catalog_spec.rb
hydra-core-6.3.0 spec/lib/catalog_spec.rb
hydra-core-6.3.0.rc1 spec/lib/catalog_spec.rb
hydra-core-6.2.2 spec/lib/catalog_spec.rb
hydra-core-6.2.1 spec/lib/catalog_spec.rb
hydra-core-6.2.0 spec/lib/catalog_spec.rb
hydra-core-6.1.1 spec/lib/catalog_spec.rb
hydra-core-6.1.0 spec/lib/catalog_spec.rb
hydra-core-6.0.0 spec/lib/catalog_spec.rb
hydra-core-6.0.0.rc4 spec/lib/catalog_spec.rb