spec/views/shared/_footer.html.erb_spec.rb in blacklight-spotlight-2.4.1 vs spec/views/shared/_footer.html.erb_spec.rb in blacklight-spotlight-2.5.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
describe 'shared/_footer', type: :view do
let(:current_exhibit) { double(title: 'Some title', subtitle: 'Subtitle') }
before do
allow(view).to receive_messages(current_exhibit: current_exhibit)