Sha256: 6361a722ad3abe8b776be4a9a5f8b8b6c89bcc45b6b32f92eba19c37e2e8aa76

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
#
require 'simplecov'
SimpleCov.start

require 'chrono_model'

require 'support/connection'
require 'support/matchers/schema'
require 'support/matchers/table'
require 'support/matchers/column'
require 'support/matchers/index'

# Rails 5 returns a True/FalseClass
AR_TRUE, AR_FALSE  = ActiveRecord::VERSION::MAJOR == 4 ? ['t', 'f'] : [true, false]

RSpec.configure do |config|
  config.include(ChronoTest::Matchers::Schema)
  config.include(ChronoTest::Matchers::Table)
  config.include(ChronoTest::Matchers::Column)
  config.include(ChronoTest::Matchers::Index)

  ChronoTest.recreate_database!
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chrono_model-0.11.1 spec/spec_helper.rb
chrono_model-0.11.0 spec/spec_helper.rb
chrono_model-0.10.1 spec/spec_helper.rb
chrono_model-0.10.0 spec/spec_helper.rb