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.0.0.rc3 spec/lib/catalog_spec.rb
hydra-core-6.0.0.rc2 spec/lib/catalog_spec.rb
hydra-core-6.0.0.rc1 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre8 spec/lib/catalog_spec.rb
hydra-core-5.4.0 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre7 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre6 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre5 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre4 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre3 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre2 spec/lib/catalog_spec.rb
hydra-core-6.0.0.pre1 spec/lib/catalog_spec.rb
hydra-core-5.4.0.pre1 spec/lib/catalog_spec.rb
hydra-core-5.3.0 spec/lib/catalog_spec.rb
hydra-core-5.2.0 spec/lib/catalog_spec.rb
hydra-core-5.1.0 spec/lib/catalog_spec.rb
hydra-core-5.0.1 spec/lib/catalog_spec.rb
hydra-core-5.0.0 spec/lib/catalog_spec.rb
hydra-core-5.0.0.rc1 spec/lib/catalog_spec.rb
hydra-core-5.0.0.pre15 spec/lib/catalog_spec.rb