Sha256: fc194f205b214f1b05ff363546ecdf78709e0aa0b5acb51faed95e829324e253

Contents?: true

Size: 561 Bytes

Versions: 17

Compression:

Stored size: 561 Bytes

Contents

# encoding: UTF-8

require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/spec'
require 'webmock/minitest'
require 'faker'
require 'factory_girl'

MiniTest::Reporters.use! [Minitest::Reporters::SpecReporter.new, MiniTest::Reporters::JUnitReporter.new]
require File.join(File.dirname(__FILE__), '..', 'lib', 'enrichment_db')
FactoryGirl.find_definitions

$should_stub = true
if $should_stub
  WebMock.disable_net_connect!
else
  WebMock.allow_net_connect!
end

def stub_get(path)
  WebMock::API.stub_http_request(:get, request_path(path))
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
enrichment_db-0.1.15 test/test_helper.rb
enrichment_db-0.1.14 test/test_helper.rb
enrichment_db-0.1.13 test/test_helper.rb
enrichment_db-0.1.12 test/test_helper.rb
enrichment_db-0.1.11 test/test_helper.rb
enrichment_db-0.1.10 test/test_helper.rb
enrichment_db-0.1.9 test/test_helper.rb
enrichment_db-0.1.8 test/test_helper.rb
enrichment_db-0.1.7 test/test_helper.rb
enrichment_db-0.1.6 test/test_helper.rb
enrichment_db-0.1.5 test/test_helper.rb
pinnacle-0.0.1 test/test_helper.rb
enrichment_db-0.1.4 test/test_helper.rb
enrichment_db-0.1.3 test/test_helper.rb
enrichment_db-0.1.2 test/test_helper.rb
enrichment_db-0.1.1 test/test_helper.rb
enrichment_db-0.1.0 test/test_helper.rb