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-5.4.1 spec/lib/catalog_spec.rb
hydra-core-7.2.1 spec/lib/catalog_spec.rb
hydra-core-7.2.0 spec/lib/catalog_spec.rb
hydra-core-7.1.0 spec/lib/catalog_spec.rb
hydra-core-7.1.0.rc2 spec/lib/catalog_spec.rb
hydra-core-7.1.0.rc1 spec/lib/catalog_spec.rb
hydra-core-6.5.2 spec/lib/catalog_spec.rb
hydra-core-6.5.1 spec/lib/catalog_spec.rb
hydra-core-7.0.2 spec/lib/catalog_spec.rb
hydra-core-6.4.2 spec/lib/catalog_spec.rb
hydra-core-7.0.1 spec/lib/catalog_spec.rb
hydra-core-7.0.0 spec/lib/catalog_spec.rb
hydra-core-7.0.0.rc1 spec/lib/catalog_spec.rb
hydra-core-7.0.0.pre3 spec/lib/catalog_spec.rb
hydra-core-6.5.0 spec/lib/catalog_spec.rb
hydra-core-6.5.0.rc2 spec/lib/catalog_spec.rb
hydra-core-7.0.0.pre2 spec/lib/catalog_spec.rb
hydra-core-7.0.0.pre1 spec/lib/catalog_spec.rb
hydra-core-6.4.1 spec/lib/catalog_spec.rb
hydra-core-6.4.0 spec/lib/catalog_spec.rb