Sha256: f617cf75b9273d78babaaefded63b4aa8c473b3254fdd542d529c341c04dfdbc

Contents?: true

Size: 361 Bytes

Versions: 10

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

describe Hydra::Controller::ControllerBehavior do

  before do
    class CatalogTest < ApplicationController
      include Hydra::Controller::ControllerBehavior
    end
  end

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hydra-core-8.0.0 spec/lib/catalog_spec.rb
hydra-core-9.0.1 spec/lib/catalog_spec.rb
hydra-core-9.0.0 spec/lib/catalog_spec.rb
hydra-core-9.0.0.rc3 spec/lib/catalog_spec.rb
hydra-core-9.0.0.rc2 spec/lib/catalog_spec.rb
hydra-core-9.0.0.rc1 spec/lib/catalog_spec.rb
hydra-core-9.0.0.beta2 spec/lib/catalog_spec.rb
hydra-core-9.0.0.beta1 spec/lib/catalog_spec.rb
hydra-core-8.0.0.beta1 spec/lib/catalog_spec.rb
hydra-core-7.2.2 spec/lib/catalog_spec.rb