spec/views/spotlight/pages/show.html.erb_spec.rb in blacklight-spotlight-3.0.0.rc2 vs spec/views/spotlight/pages/show.html.erb_spec.rb in blacklight-spotlight-3.0.0.rc3
- old
+ new
@@ -9,9 +9,10 @@
content: '[]')
end
before do
allow(view).to receive(:current_exhibit).and_return(exhibit)
+ allow(view).to receive(:render_body_class).and_return('')
assign(:page, page)
stub_template 'spotlight/pages/_sidebar.html.erb' => 'Sidebar'
stub_template 'spotlight/pages/_tophat.html.erb' => ''
end