Sha256: 9dddb6d45890aaf533aa9516a0035366e804b6de1df79a9fda0ba1d6b025b0f9

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

require 'bundler'
Bundler.require :default, :test

require 'minitest/autorun'
require 'minitest/pride'

lib = File.expand_path '../../lib', __FILE__
$:.unshift lib unless $:.include? lib
require 'terraformer'

module MiniTest::Expectations
  infect_an_assertion :refute_nil, :dont_be_terrible_ok, :unary
end

examples = File.expand_path '../examples', __FILE__
EXAMPLES = Dir[examples + '/*.geojson'].reduce({}) do |h, gj|
  h[gj.sub(examples+'/','').sub(/\.geojson$/,'').to_sym] =
    File.read(gj).gsub(/\r*\n*/,'').gsub('  ',' ')
  h
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terraformer-0.0.1 test/helper.rb