about summary refs log tree commit diff
path: root/spec/services/favourite_service_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-05-08 00:01:47 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-05-08 00:01:47 +0200
commitfbf097f7e159e4fabe39bd36b9bc480b3f8b4058 (patch)
tree7b49b6927f676723bf0f34e7e9c2e561553ec167 /spec/services/favourite_service_spec.rb
parentd30dd5b1dbbc8e72cd7aefe5ee39684e068b7118 (diff)
parent81b19e28ff26cbee22f4c6c393391e92d78c61ef (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/services/favourite_service_spec.rb')
-rw-r--r--spec/services/favourite_service_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/services/favourite_service_spec.rb b/spec/services/favourite_service_spec.rb
index 4c29ea77b..fc7f58eb4 100644
--- a/spec/services/favourite_service_spec.rb
+++ b/spec/services/favourite_service_spec.rb
@@ -18,20 +18,6 @@ RSpec.describe FavouriteService, type: :service do
     end
   end
 
-  describe 'remote OStatus' do
-    let(:bob)    { Fabricate(:user, email: 'bob@example.com', account: Fabricate(:account, username: 'bob', protocol: :ostatus, domain: 'example.com', salmon_url: 'http://salmon.example.com')).account }
-    let(:status) { Fabricate(:status, account: bob, uri: 'tag:example.com:blahblah') }
-
-    before do
-      stub_request(:post, "http://salmon.example.com/").to_return(:status => 200, :body => "", :headers => {})
-      subject.call(sender, status)
-    end
-
-    it 'creates a favourite' do
-      expect(status.favourites.first).to_not be_nil
-    end
-  end
-
   describe 'remote ActivityPub' do
     let(:bob)    { Fabricate(:user, email: 'bob@example.com', account: Fabricate(:account, protocol: :activitypub, username: 'bob', domain: 'example.com', inbox_url: 'http://example.com/inbox')).account }
     let(:status) { Fabricate(:status, account: bob) }