unstubing and restubbing before doing pubsubhubub

This commit is contained in:
maxwell 2011-01-06 12:19:36 -08:00
parent 11808e3233
commit f02ed1e3c4

View file

@ -5,6 +5,15 @@
require 'spec_helper'
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
end