Sha256: 6285de6506522a3905b94d1e5146232e65ef3e65099955c71704d2b128324ec9
Contents?: true
Size: 540 Bytes
Versions: 5
Compression:
Stored size: 540 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'lib', 'httparty') require 'spec/autorun' require 'fakeweb' def file_fixture(filename) open(File.join(File.dirname(__FILE__), 'fixtures', "#{filename.to_s}")).read end Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f} Spec::Runner.configure do |config| config.include HTTParty::StubResponse config.before(:suite) do FakeWeb.allow_net_connect = false end config.after(:suite) do FakeWeb.allow_net_connect = true end end
Version data entries
5 entries across 5 versions & 2 rubygems