Sha256: edc86ab549cff872e0c2509662d996c4f7d41677841c713642f3cbf87b5f3f1f

Contents?: true

Size: 498 Bytes

Versions: 4

Compression:

Stored size: 498 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

4 entries across 4 versions & 1 rubygems

Version Path
npr-1.1.0 spec/spec_helper.rb
npr-0.1.2 spec/spec_helper.rb
npr-0.1.1 spec/spec_helper.rb
npr-0.1.0 spec/spec_helper.rb