Sha256: 2aa7419c0c399ce8adb1d523b1d8c8baaaeff832f4cdf488c2fbaeaa46c9825e
Contents?: true
Size: 710 Bytes
Versions: 39
Compression:
Stored size: 710 Bytes
Contents
require 'spec_helper' describe AlternateController do describe "the search results tools" do it "should inherit tools from CatalogController" do expect(AlternateController.blacklight_config.index.document_actions).to have_key(:bookmark) end context "when deleting partials from the AlternateController" do before do AlternateController.blacklight_config.index.document_actions.delete(:bookmark) end it "should not affect the CatalogController" do expect(AlternateController.blacklight_config.index.document_actions).to be_empty expect(CatalogController.blacklight_config.index.document_actions).to have_key(:bookmark) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems