Sha256: 0fc5ed04e4a98f3dc21932230f73db83c7536829ccfc9e68d909e73ce06c668e

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

Stored size: 501 Bytes

Contents

if RUBY_ENGINE == 'rbx'
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
end

begin
  require 'byebug'
rescue LoadError
end

root = Pathname(__FILE__).join('../../').expand_path
$LOAD_PATH.unshift(root.join('spec/dummy/spec'))

require 'database_cleaner'

Dir[root.join("spec/support/**/*.rb")].each { |f| require f }

RSpec.configure do |config|
  config.order = "random"

  config.before(:all) do
    # DatabaseCleaner.clean_with(:truncation)
  end
end

def rom
  ROM.env
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-lotus-0.1.0 spec/spec_helper.rb
rom-lotus-0.0.1 spec/spec_helper.rb