0
0
Fork 0

Add API for retrieving blocked accounts

This commit is contained in:
Eugen Rochko 2016-12-29 20:12:32 +01:00
parent 8724094ed0
commit 49834a6e7f
15 changed files with 50 additions and 14 deletions

View file

@ -6,7 +6,6 @@ RSpec.describe Api::V1::TimelinesController, type: :controller do
let(:user) { Fabricate(:user, account: Fabricate(:account, username: 'alice')) }
before do
stub_request(:post, "https://pubsubhubbub.superfeedr.com/").to_return(:status => 200, :body => "", :headers => {})
allow(controller).to receive(:doorkeeper_token) { token }
end