Sha256: e5a128a2da68441fb4d1249aafe04b424cba0ca2e4cac7e53ffa7b4dda784eba

Contents?: true

Size: 407 Bytes

Versions: 5

Compression:

Stored size: 407 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_rb"

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

5 entries across 5 versions & 1 rubygems

Version Path
humans_rb-0.0.6 spec/spec_helper.rb
humans_rb-0.0.5 spec/spec_helper.rb
humans_rb-0.0.4 spec/spec_helper.rb
humans_rb-0.0.3 spec/spec_helper.rb
humans_rb-0.0.2 spec/spec_helper.rb