make publish spec reflect the working job

This commit is contained in:
maxwell 2011-03-30 11:03:14 -07:00
parent 3ba7ce41f1
commit eff42b4219

View file

@ -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