spec/views/spotlight/pages/edit.html.erb_spec.rb in blacklight-spotlight-0.32.0 vs spec/views/spotlight/pages/edit.html.erb_spec.rb in blacklight-spotlight-0.33.0

- old
+ new

@@ -1,10 +1,12 @@ describe 'spotlight/pages/edit', type: :view do let(:exhibit) { stub_model(Spotlight::Exhibit) } let(:page) { stub_model(Spotlight::FeaturePage, exhibit: exhibit) } before do assign(:page, page) - allow(view).to receive_messages(default_thumbnail_jcrop_options: {}, available_index_fields: [], available_view_fields: []) + allow(view).to receive_messages(featured_images_path: '/foo', + available_index_fields: [], + available_view_fields: []) end it 'renders the edit page form' do render