Autofix Rubocop RSpec/ImplicitSubject (#23721)
This commit is contained in:
1 parent
63e6353886
commit
38a1d8bb85
26 files changed
+184
-221
No files matched your search
@@ -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