mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Added fakeweb to make sure no external requests get out.
This commit is contained in:
parent
874522d751
commit
87b9729b66
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
require 'rubygems'
|
||||
gem 'rspec', '>= 1.2.8'
|
||||
gem 'fakeweb'
|
||||
require 'spec'
|
||||
require 'fakeweb'
|
||||
|
||||
FakeWeb.allow_net_connect = false
|
||||
|
||||
require File.join(File.dirname(__FILE__), '..', 'lib', 'httparty')
|
||||
|
||||
def file_fixture(filename)
|
||||
|
|
Loading…
Add table
Reference in a new issue