make publish spec reflect the working job
This commit is contained in:
parent
3ba7ce41f1
commit
eff42b4219
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue