Sha256: 85b5ad6d1a03b939fee7b27bcb5990afec7b1bbc2383280d6a334fd69234fe54

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

require 'simplecov'
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

4 entries across 4 versions & 1 rubygems

Version Path
bridge_blueprint-0.0.10 spec/test_helper.rb
bridge_blueprint-0.0.9 spec/test_helper.rb
bridge_blueprint-0.0.8 spec/test_helper.rb
bridge_blueprint-0.0.7 spec/test_helper.rb