Sha256: 209623ba35a63a4db90b346c549cf980ceb88f3f9411f7dc5d7e31adce533cc0
Contents?: true
Size: 587 Bytes
Versions: 9
Compression:
Stored size: 587 Bytes
Contents
describe 'spotlight/catalog/edit.html.erb', type: :view do let(:blacklight_config) { Blacklight::Configuration.new } let(:document) { stub_model(::SolrDocument) } before do allow(view).to receive_messages(blacklight_config: blacklight_config) allow(view).to receive_messages(current_exhibit: stub_model(Spotlight::Exhibit)) assign(:document, document) allow(view).to receive(:document_counter) allow(view).to receive(:render_document_partials) render end it 'renders a document div' do expect(rendered).to have_css '#document.document' end end
Version data entries
9 entries across 9 versions & 1 rubygems