From 1408b2688d8ea6d287e1ec20d390dc3c859a6ddb Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Tue, 7 Feb 2023 09:26:21 -0800 Subject: [PATCH] Stub out action_name in the show presenter spec --- spec/presenters/arclight/show_presenter_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/presenters/arclight/show_presenter_spec.rb b/spec/presenters/arclight/show_presenter_spec.rb index 15fe389a7..7e58deb2c 100644 --- a/spec/presenters/arclight/show_presenter_spec.rb +++ b/spec/presenters/arclight/show_presenter_spec.rb @@ -17,6 +17,7 @@ before do config.show.title_field = :normalized_title_ssm + allow(view_context).to receive(:action_name).and_return(:show) end describe '#heading' do