Sha256: caf54e616d427757fefdb8685d1bb397620773b8a0a37562765295776bfaeb48

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

require "bundler/setup"
require "parslet/rig/rspec"

ENV['RACK_ENV'] = 'test'
$:.push File.join(File.dirname(__FILE__), '..', 'lib')

require 'webmock/rspec'

require_relative "../lib/humans"

WebMock.disable_net_connect!

def fixtures_dir
  File.expand_path("./fixtures", File.dirname(__FILE__))
end

def load_fixture(fixture)
  path = File.expand_path(fixture, fixtures_dir)
  File.open(path).read
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
humans_rb-0.0.1 spec/spec_helper.rb