mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Autofix Rubocop RSpec/ImplicitSubject (#23721)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user