Sha256: 47fffe9a3d5c1b2477c10fc2ce03ca19d6548db4922e33b88e8265305a2b872b
Contents?: true
Size: 713 Bytes
Versions: 14
Compression:
Stored size: 713 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Hydra::Controller do before(:all) do class HydraUiControllerTest end end after :all do Object.send(:remove_const, :HydraUiControllerTest) end it "should add the necessary helpers to classes that include it" do HydraUiControllerTest.expects(:helper).with(:hydra_fedora_metadata) HydraUiControllerTest.expects(:helper).with(:generic_content_objects) HydraUiControllerTest.expects(:helper).with(:hydra_uploader) HydraUiControllerTest.expects(:helper).with(:article_metadata) HydraUiControllerTest.stubs(:before_filter) HydraUiControllerTest.send(:include, Hydra::UI::Controller) end end
Version data entries
14 entries across 14 versions & 1 rubygems