From 756471be43e3c7ed45354c7fc9d0e8147ddba385 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Tue, 11 Jan 2011 19:54:22 -0800 Subject: [PATCH] Fix 1.9 build. MAXWELL. --- spec/lib/pubsubhubbub_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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