Sha256: ab5dcd12eb96664d0027e673309a4190d5cdaed8810f80c10c0ee4ae9979e2e7
Contents?: true
Size: 552 Bytes
Versions: 24
Compression:
Stored size: 552 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.expects(:helper).with(:generic_content_objects) HydraControllerTest.stubs(:before_filter) HydraControllerTest.send(:include, Hydra::Controller) end end
Version data entries
24 entries across 24 versions & 1 rubygems