Skip to content

Commit

Permalink
Stub out action_name in the show presenter spec
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Feb 7, 2023
1 parent fda223c commit 1408b26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/presenters/arclight/show_presenter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1408b26

Please sign in to comment.