spec/views/spotlight/pages/index.html.erb_spec.rb in blacklight-spotlight-0.17.1 vs spec/views/spotlight/pages/index.html.erb_spec.rb in blacklight-spotlight-0.18.0

- old
+ new

@@ -4,16 +4,14 @@ let(:pages) do [ stub_model(Spotlight::FeaturePage, title: 'Title1', content: '[]', - exhibit: exhibit - ), + exhibit: exhibit), stub_model(Spotlight::FeaturePage, title: 'Title2', content: '[]', - exhibit: exhibit - ) + exhibit: exhibit) ] end let(:exhibit) { stub_model(Spotlight::Exhibit) } before do allow(view).to receive(:page_collection_name).and_return(:feature_pages)