Don't show statuses to blocked users
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user