Fix Lint/EmptyClass cop (#24795)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2023-05-02 21:06:51 +02:00
1 parent 8d61d2b0da
commit 05e3abe9d9
2 files changed
+4 -7

No files matched your search

+4 -2
View File
@@ -2,9 +2,11 @@
require 'rails_helper'
class FakeService; end
describe Api::BaseController do
before do
stub_const('FakeService', Class.new)
end
controller do
def success
head 200