Remove unused failure action in api/base controller spec (#32905)
This commit is contained in:
@@ -7,10 +7,6 @@ RSpec.describe Api::BaseController do
|
|||||||
def success
|
def success
|
||||||
head 200
|
head 200
|
||||||
end
|
end
|
||||||
|
|
||||||
def failure
|
|
||||||
FakeService.new
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'returns private cache control headers by default' do
|
it 'returns private cache control headers by default' do
|
||||||
|
|||||||
Reference in New Issue
Block a user