0
0
Fork 0

Don't show statuses to blocked users

This commit is contained in:
Eugen Rochko 2016-12-26 19:13:56 +01:00
parent 3282448878
commit 7376af90f7
4 changed files with 44 additions and 6 deletions

View file

@ -7,7 +7,6 @@ RSpec.describe Api::V1::StatusesController, type: :controller do
let(:token) { double acceptable?: true, resource_owner_id: user.id }
before do
stub_request(:post, "https://pubsubhubbub.superfeedr.com/").to_return(:status => 200, :body => "", :headers => {})
allow(controller).to receive(:doorkeeper_token) { token }
end