mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 15:48:22 +00:00
Remove unused failure action in api/base controller spec (#32905)
This commit is contained in:
parent
7bd7705f59
commit
9d3fcc3546
|
@ -7,10 +7,6 @@ RSpec.describe Api::BaseController do
|
|||
def success
|
||||
head 200
|
||||
end
|
||||
|
||||
def failure
|
||||
FakeService.new
|
||||
end
|
||||
end
|
||||
|
||||
it 'returns private cache control headers by default' do
|
||||
|
|
Loading…
Reference in a new issue