Sha256: d7858c01263ac6f9dfad9f00127bbbcdfa3a75c9fd652451b2452449206c5902
Contents?: true
Size: 590 Bytes
Versions: 9
Compression:
Stored size: 590 Bytes
Contents
describe 'spotlight/pages/edit', type: :view do let(:exhibit) { stub_model(Spotlight::Exhibit) } let(:page) { stub_model(Spotlight::FeaturePage, exhibit: exhibit) } let :blacklight_config do Blacklight::Configuration.new end before do assign(:page, page) allow(view).to receive_messages(configurations_for_current_page: {}, featured_images_path: '/foo') end it 'contains data-block-types attribute needed for SirTrevor instantiation' do render expect(rendered).to have_css '.js-st-instance[data-block-types]' end end
Version data entries
9 entries across 9 versions & 1 rubygems