Sha256: c58df03a3c0af7fbaa8b4f5a9bf1e0635d2619838d04ff06f4725cdef9c5fa1b

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require 'bridge_blueprint'
require 'rspec'
require 'webmock/rspec'
require 'json'
require 'pry'

RSpec.configure do |config|
  Dir['./spec/support/**/*.rb'].sort.each { |f| require f }

  config.before(:each) do
    WebMock.disable_net_connect!
    WebMock.stub_request(:any, /api\/.*/).to_rack(FakeBridge)
  end
end

def fixture(*file)
  File.new(File.join(File.expand_path('fixtures', __dir__), *file))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bridge_blueprint-0.0.06 spec/test_helper.rb