spec/views/spotlight/exhibits/edit.html.erb_spec.rb in blacklight-spotlight-1.5.1 vs spec/views/spotlight/exhibits/edit.html.erb_spec.rb in blacklight-spotlight-2.0.0.rc1
- old
+ new
@@ -5,10 +5,13 @@
allow(view).to receive_messages(
current_exhibit: exhibit,
can?: true,
import_exhibit_path: '/',
get_exhibit_path: '/',
- exhibit_filters_path: '/'
+ exhibit_filters_path: '/',
+ exhibit_languages_path: '/',
+ add_exhibit_language_dropdown_options: [],
+ default_language?: true
)
end
it 'renders the edit page form' do
render