Sha256: f895ccb80ab3b91dda91578b7e0002aaed821017c206611848dfc20e7374e43d

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

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


describe Hydra::Controller do
  before(:all) do
    class HydraControllerTest
    end
  end
  
  it "should add the necessary helpers to classes that include it" do
    HydraControllerTest.expects(:helper).with(:hydra_assets)
    HydraControllerTest.expects(:helper).with(:hydra_fedora_metadata)
    HydraControllerTest.send(:include, Hydra::Controller)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-head-3.0.0pre3 test_support/spec/controllers/hydra_controller_spec.rb
hydra-head-3.0.0pre2 test_support/spec/controllers/hydra_controller_spec.rb
hydra-head-3.0.0pre1 test_support/spec/controllers/hydra_controller_spec.rb