Sha256: ee317a29999dabf72467d436ebac396e7fab6252180b2248782f5d462e2022ff
Contents?: true
Size: 905 Bytes
Versions: 2
Compression:
Stored size: 905 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' require 'support/matchers/function' require 'support/aruba' # 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) config.include(ChronoTest::Aruba, type: :aruba) ChronoTest.recreate_database! config.before(:example, type: :aruba) do copy_dummy_app_into_aruba_working_directory recreate_railsapp_database end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chrono_model-0.13.0 | spec/spec_helper.rb |
chrono_model-0.12.3 | spec/spec_helper.rb |