From eff42b4219fc1fea90ea3b4d0872c71ac15dd929 Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 30 Mar 2011 11:03:14 -0700 Subject: [PATCH] make publish spec reflect the working job --- spec/models/jobs/publish_to_hub_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/jobs/publish_to_hub_spec.rb b/spec/models/jobs/publish_to_hub_spec.rb index 5f45477dd..6adab5ab2 100644 --- a/spec/models/jobs/publish_to_hub_spec.rb +++ b/spec/models/jobs/publish_to_hub_spec.rb @@ -11,7 +11,7 @@ describe Job::PublishToHub do url = "http://publiczone.com/" m = mock() - m.should_receive(:publish).with(url) + m.should_receive(:publish).with(url+'.atom') Pubsubhubbub.should_receive(:new).with(AppConfig[:pubsub_server]).and_return(m) Job::PublishToHub.perform(url) end