unstubing and restubbing before doing pubsubhubub
This commit is contained in:
parent
11808e3233
commit
f02ed1e3c4
1 changed files with 9 additions and 0 deletions
|
|
@ -5,6 +5,15 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe PubSubHubbub do
|
describe PubSubHubbub do
|
||||||
|
before :all do
|
||||||
|
RestClient.unstub!(:post)
|
||||||
|
end
|
||||||
|
|
||||||
|
after :all do
|
||||||
|
|
||||||
|
RestClient.stub!(:post).and_return(FakeHttpRequest.new(:success))
|
||||||
|
end
|
||||||
|
|
||||||
describe '#initialize' do
|
describe '#initialize' do
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue