1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Update the way we load rspec

This commit is contained in:
Sandro Turriate 2009-09-08 21:41:13 -04:00
parent 7cbb1a0f79
commit 1214bb0e4b

View file

@ -1,7 +1,6 @@
require 'rubygems'
gem 'rspec', '>= 1.2.8'
require 'spec'
require File.join(File.dirname(__FILE__), '..', 'lib', 'httparty')
gem 'rspec', '>= 1.2.8'
require 'spec/autorun'
def file_fixture(filename)
open(File.join(File.dirname(__FILE__), 'fixtures', "#{filename.to_s}")).read
@ -18,4 +17,4 @@ def stub_http_response_with(filename)
http_request.stub!(:perform_actual_request).and_return(response)
HTTParty::Request.should_receive(:new).and_return(http_request)
end
end