Sha256: af2cb2593317e3b546e4a77bff6af2f50d423d032d7e0b6f19f1795c6d858fd6

Contents?: true

Size: 579 Bytes

Versions: 12

Compression:

Stored size: 579 Bytes

Contents

$:.push File.expand_path("../lib", __FILE__)
require "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.include HTTParty::SSLTestHelper
  config.before(:suite) do
    FakeWeb.allow_net_connect = false
  end
  config.after(:suite) do
    FakeWeb.allow_net_connect = true
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
httparty-0.8.2 spec/spec_helper.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/httparty-0.8.1/spec/spec_helper.rb
nutshell-crm-0.0.5 vendor/bundle/gems/httparty-0.8.1/spec/spec_helper.rb
nutshell-crm-0.0.4 vendor/bundle/gems/httparty-0.8.1/spec/spec_helper.rb
nutshell-crm-0.0.3 vendor/bundle/gems/httparty-0.8.1/spec/spec_helper.rb
nutshell-crm-0.0.2 vendor/bundle/gems/httparty-0.8.1/spec/spec_helper.rb
nutshell-crm-0.0.1 vendor/bundle/gems/httparty-0.8.1/spec/spec_helper.rb
httparty-0.8.1 spec/spec_helper.rb
httparty-0.8.0 spec/spec_helper.rb
httparty-0.7.8 spec/spec_helper.rb
httparty-0.7.7 spec/spec_helper.rb
httparty-0.7.6 spec/spec_helper.rb