Sha256: 6130e2617391ea2afbf8b861d637e530720918946b088fdda4c6f117b36d0dd6

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

require 'pathname'

ROOT = Pathname(__FILE__).join('../..')

$LOAD_PATH.unshift(ROOT.join('lib'))

require 'yaks'
require 'virtus'
require 'json'

require_relative 'support/models'
require_relative 'support/pet_mapper'
require_relative 'support/pet_peeve_mapper'
require_relative 'support/friends_mapper'
require_relative 'support/fixtures'
require_relative 'support/shorthands'
require_relative 'support/shared_contexts'

def load_json_fixture(name)
  JSON.parse(ROOT.join('spec/json', name + '.json').read)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yaks-0.3.1 spec/spec_helper.rb
yaks-0.3.0 spec/spec_helper.rb
yaks-0.2.0 spec/spec_helper.rb
yaks-0.1.0 spec/spec_helper.rb