From 20c38a0489c03ff9c0e451845754b05931192ebf Mon Sep 17 00:00:00 2001 From: Ruxton Date: Mon, 29 Apr 2013 22:30:40 +0800 Subject: [PATCH] Fix dispatcher_spec to depend on Tumblr which isn't retracting --- spec/lib/postzord/dispatcher_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/postzord/dispatcher_spec.rb b/spec/lib/postzord/dispatcher_spec.rb index 23af27bf0..c5b7c80e4 100644 --- a/spec/lib/postzord/dispatcher_spec.rb +++ b/spec/lib/postzord/dispatcher_spec.rb @@ -321,7 +321,7 @@ describe Postzord::Dispatcher do it "doesn't queue a job if we can't delete the post from the service" do retraction = SignedRetraction.build(alice, FactoryGirl.create(:status_message)) - service = Services::Twitter.new(access_token: "nope") + service = Services::Tumblr.new(access_token: "nope") mailman = Postzord::Dispatcher.build(alice, retraction, :url => "http://joindiaspora.com/p/123", :services => [service]) Workers::DeletePostFromService.should_not_receive(:perform_async).with(anything, anything)