Sha256: 978975650847ccd6eafe7190a3dabefa50768fa85858104bb48051b29b47263e

Contents?: true

Size: 550 Bytes

Versions: 4

Compression:

Stored size: 550 Bytes

Contents

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

require 'rspec'
require 'sqlite3'

require 'activerecord_mysql_strict'

# 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
    # Create the SQLite database
    setup_database
  end

  config.after(:each) do
    # Make sure we remove our test database file
    cleanup_database
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord_mysql_strict-0.2.1 spec/spec_helper.rb
activerecord_mysql_strict-0.2 spec/spec_helper.rb
activerecord_mysql_strict-0.1.1 spec/spec_helper.rb
activerecord_mysql_strict-0.1 spec/spec_helper.rb