Sha256: d8518097d30fae88b5aa2ab1c44efa0a6ad0545c124c56e38b45e274b9e950fa

Contents?: true

Size: 580 Bytes

Versions: 8

Compression:

Stored size: 580 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)

require 'active_support/all'
require 'rspec'
require 'mysql2'
require 'pg'

require 'activerecord_json_validator'

# Require our macros and extensions
Dir[File.expand_path('../../spec/support/macros/**/*.rb', __FILE__)].map(&method(:require))

RSpec.configure do |config|
  # Include our macros
  config.include DatabaseMacros
  config.include ModelMacros

  config.before :each do
    adapter = ENV['DB_ADAPTER'] || 'postgresql'
    setup_database(adapter: adapter, database: 'activerecord_json_validator_test')
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activerecord_json_validator-1.2.0 spec/spec_helper.rb
activerecord_json_validator-1.1.0 spec/spec_helper.rb
activerecord_json_validator-1.0.0 spec/spec_helper.rb
activerecord_json_validator-0.5.1 spec/spec_helper.rb
activerecord_json_validator-0.5 spec/spec_helper.rb
activerecord_json_validator-0.4.2 spec/spec_helper.rb
activerecord_json_validator-0.4.1 spec/spec_helper.rb
activerecord_json_validator-0.4 spec/spec_helper.rb