From 6c374b51537126a2cba29f3eaf74faf1fc64ba96 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 6 May 2019 20:51:20 -0500 Subject: Drop OStatus support. Fix some of the Rspec tests. --- spec/lib/activitypub/activity/undo_spec.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'spec/lib/activitypub/activity') diff --git a/spec/lib/activitypub/activity/undo_spec.rb b/spec/lib/activitypub/activity/undo_spec.rb index 9545e1f46..9c76fabe9 100644 --- a/spec/lib/activitypub/activity/undo_spec.rb +++ b/spec/lib/activitypub/activity/undo_spec.rb @@ -25,7 +25,6 @@ RSpec.describe ActivityPub::Activity::Undo do type: 'Announce', actor: ActivityPub::TagManager.instance.uri_for(sender), object: ActivityPub::TagManager.instance.uri_for(status), - atomUri: 'barbar', } end @@ -39,17 +38,6 @@ RSpec.describe ActivityPub::Activity::Undo do expect(sender.reblogged?(status)).to be false end end - - context 'with atomUri' do - before do - Fabricate(:status, reblog: status, account: sender, uri: 'barbar') - end - - it 'deletes the reblog by atomUri' do - subject.perform - expect(sender.reblogged?(status)).to be false - end - end end context 'with Accept' do -- cgit