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
				
			
		|  | @ -18,7 +18,6 @@ RSpec.describe Api::V1::FollowsController, type: :controller do | |||
|       stub_request(:get,  "https://quitter.no/avatar/7477-300-20160211190340.png").to_return(request_fixture('avatar.txt')) | ||||
|       stub_request(:post, "https://quitter.no/main/push/hub").to_return(:status => 200, :body => "", :headers => {}) | ||||
|       stub_request(:post, "https://quitter.no/main/salmon/user/7477").to_return(:status => 200, :body => "", :headers => {}) | ||||
|       stub_request(:post, "https://pubsubhubbub.superfeedr.com/").to_return(:status => 200, :body => "", :headers => {}) | ||||
| 
 | ||||
|       post :create, params: { uri: 'gargron@quitter.no' } | ||||
|     end | ||||
|  | @ -39,10 +38,6 @@ RSpec.describe Api::V1::FollowsController, type: :controller do | |||
|       expect(a_request(:post, "https://quitter.no/main/salmon/user/7477")).to have_been_made | ||||
|     end | ||||
| 
 | ||||
|     it 'notifies own hub' do | ||||
|       expect(a_request(:post, "https://pubsubhubbub.superfeedr.com/")).to have_been_made | ||||
|     end | ||||
| 
 | ||||
|     it 'subscribes to remote hub' do | ||||
|       expect(a_request(:post, "https://quitter.no/main/push/hub")).to have_been_made | ||||
|     end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue