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/"
|
url = "http://publiczone.com/"
|
||||||
m = mock()
|
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)
|
Pubsubhubbub.should_receive(:new).with(AppConfig[:pubsub_server]).and_return(m)
|
||||||
Job::PublishToHub.perform(url)
|
Job::PublishToHub.perform(url)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue