0
0
Fork 0

Remove deprecated REST API GET /api/v1/timelines/direct (#11212)

This commit is contained in:
Eugen Rochko 2019-07-05 02:14:56 +02:00 committed by GitHub
parent 99924f282f
commit 3fd6ab99e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 172 deletions

View file

@ -1,17 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Timelines::DirectController, type: :controller do
let(:user) { Fabricate(:user) }
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id, scopes: 'read:statuses') }
describe 'GET #show' do
it 'returns 200' do
allow(controller).to receive(:doorkeeper_token) { token }
get :show
expect(response).to have_http_status(200)
end
end
end