Removing external hub completely, fix #333 fixing digit-only hashtags,
removing web app capability from non-webapp pages
This commit is contained in:
parent
c4ffffbeed
commit
6de079a5af
14 changed files with 2 additions and 32 deletions
|
@ -8,7 +8,6 @@ RSpec.describe ReblogService do
|
|||
subject { ReblogService.new }
|
||||
|
||||
before do
|
||||
stub_request(:post, Rails.configuration.x.hub_url)
|
||||
stub_request(:post, 'http://salmon.example.com')
|
||||
|
||||
subject.(alice, status)
|
||||
|
@ -18,10 +17,6 @@ RSpec.describe ReblogService do
|
|||
expect(status.reblogs.count).to eq 1
|
||||
end
|
||||
|
||||
it 'pings PubSubHubbub hubs' do
|
||||
expect(a_request(:post, Rails.configuration.x.hub_url)).to have_been_made
|
||||
end
|
||||
|
||||
it 'sends a Salmon slap for a remote reblog' do
|
||||
expect(a_request(:post, 'http://salmon.example.com')).to have_been_made
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue