Sha256: f72261c52cabe983031c7e4a21761d83f2321dc7c38fbb0bbb92ed3dd4462576

Contents?: true

Size: 496 Bytes

Versions: 5

Compression:

Stored size: 496 Bytes

Contents

require 'bundler/setup'
Bundler.require

SPEC_ROOT    = File.dirname(__FILE__)
FIXTURE_ROOT = File.join SPEC_ROOT, "fixtures"

# Require the support files
Dir["#{SPEC_ROOT}/support/**/*.rb"].each { |f| require f }

# Disallow real network connections
require 'fakeweb'
FakeWeb.allow_net_connect = false

# Configuration
RSpec.configure do |config|
  config.include FakeResponse
  config.include ConfigHelper
  config.include FixtureHelper

  config.before do
    FakeWeb.clean_registry
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
npr-3.0.0 spec/spec_helper.rb
npr-2.0.2 spec/spec_helper.rb
npr-2.0.1 spec/spec_helper.rb
npr-2.0.0 spec/spec_helper.rb
npr-1.2.0 spec/spec_helper.rb