mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-17 12:06:31 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue