Autofix Rubocop RSpec/ImplicitSubject (#23721)

This commit is contained in:
Nick Schonning
2023-02-19 23:00:48 -05:00
committed by GitHub
parent 63e6353886
commit 38a1d8bb85
26 changed files with 184 additions and 221 deletions

View File

@@ -28,7 +28,7 @@ describe ApplicationController, type: :controller do
end
it 'renders template for http' do
is_expected.to render_template("errors/#{code}", layout: 'error')
expect(subject).to render_template("errors/#{code}", layout: 'error')
end
end