Sha256: f444db72f5e4ea35c15672b667df5186484e654f2d2b7fa1899c9ce02ed476cb
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe AlternateController do describe "the search results tools" do it "inherits 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 "does 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-6.3.1 | spec/controllers/alternate_controller_spec.rb |
blacklight-6.3.0 | spec/controllers/alternate_controller_spec.rb |