Sha256: 917ad1feb6722c94ac472eb9e233ec1e47519f73a1ff5ed5cf397de444c35cd8

Contents?: true

Size: 736 Bytes

Versions: 3

Compression:

Stored size: 736 Bytes

Contents

require 'simplecov'
SimpleCov.start do
  add_filter "/features/"
  add_filter "/spec/"
  add_filter "/db/"
end

require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
require 'gritano'

require 'rspec/expectations'
require 'cucumber/rspec/doubles'

require 'active_record'

Before do
  ActiveRecord::Base.establish_connection(YAML::load(File.open('.gritano/database.yml')))
  FileUtils.rm_rf(File.join("tmp", ".gritano"))
  FileUtils.mkdir(File.join('tmp', '.gritano'))
  Gritano::Console.remote_console(false, 'tmp')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gritano-1.0.0 features/support/env.rb
gritano-0.11.2 features/support/env.rb
gritano-0.11.1 features/support/env.rb