Sha256: b1f33ca99ed44d6295c29d27f0d02b35477db11bb732b68b015bdf7052bcc6e7

Contents?: true

Size: 465 Bytes

Versions: 5

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

require "combustion"

if Rails::VERSION::STRING.to_f < 4.1
  require "active_record"
  require "active_record/connection_adapters/mysql2_adapter"

  class ActiveRecord::ConnectionAdapters::Mysql2Adapter
    NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
  end
end

require File.expand_path("dummy/lib/engine.rb", __dir__)

Dir.chdir(File.expand_path("dummy", __dir__)) do
  Combustion.initialize! :all
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
combustion-1.3.5 spec/spec_helper.rb
combustion-1.3.4 spec/spec_helper.rb
combustion-1.3.3 spec/spec_helper.rb
combustion-1.3.2 spec/spec_helper.rb
combustion-1.3.1 spec/spec_helper.rb