Sha256: 21f8a41129c4cfeedd283457fa25a448cc3dd17e297e7160184bd16b453f9586

Contents?: true

Size: 900 Bytes

Versions: 6

Compression:

Stored size: 900 Bytes

Contents

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

require 'byebug'

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'

puts "Testing against Active Record #{ActiveRecord::VERSION::STRING} with Arel #{Arel::VERSION}"

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

6 entries across 6 versions & 1 rubygems

Version Path
chrono_model-1.2.2 spec/spec_helper.rb
chrono_model-1.2.1 spec/spec_helper.rb
chrono_model-1.2.0 spec/spec_helper.rb
chrono_model-1.1.0 spec/spec_helper.rb
chrono_model-1.0.1 spec/spec_helper.rb
chrono_model-1.0.0 spec/spec_helper.rb