Sha256: 2c5e4f80771277a14c922b9d19a7ca0e6532c3af24687d9883b6860822e941ba
Contents?: true
Size: 475 Bytes
Versions: 56
Compression:
Stored size: 475 Bytes
Contents
describe Spotlight::BrowseHelper, type: :helper do it 'defaults to the gallery' do allow(helper).to receive_messages(blacklight_config: double(view: { gallery: true })) expect(helper.default_document_index_view_type).to eq :gallery end it "uses the blacklight default if gallery isn't available" do allow(helper).to receive_messages(blacklight_config: double(view: { list: true })) expect(helper.default_document_index_view_type).to eq :list end end
Version data entries
56 entries across 56 versions & 1 rubygems