diff --git a/spec/lib/pubsubhubbub_spec.rb b/spec/lib/pubsubhubbub_spec.rb index f59924619..6428a9aca 100644 --- a/spec/lib/pubsubhubbub_spec.rb +++ b/spec/lib/pubsubhubbub_spec.rb @@ -3,9 +3,10 @@ # the COPYRIGHT file. require 'spec_helper' -require 'lib/pubsubhubbub' +require File.join(Rails.root, 'lib', 'pubsubhubbub') describe Pubsubhubbub do + before do RestClient.unstub!(:post) end