Sha256: 8ab85fa661a68257ab9427a2a4630005673434e595d799cefc73fbf79570ef71
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 Bytes
Contents
require "bundler/setup" Bundler.require(:default) require "minitest/autorun" require "minitest/pride" require "active_record" # for debugging # ActiveRecord::Base.logger = Logger.new(STDOUT) # rails does this in activerecord/lib/active_record/railtie.rb ActiveRecord::Base.default_timezone = :utc ActiveRecord::Base.time_zone_aware_attributes = true # migrations ActiveRecord::Base.establish_connection :adapter => "postgresql", :database => "searchkick_test" ActiveRecord::Migration.create_table :products, :force => true do |t| t.string :name t.integer :store_id t.boolean :in_stock t.boolean :backordered t.timestamps end File.delete("elasticsearch.log") if File.exists?("elasticsearch.log") Tire.configure { logger "elasticsearch.log", :level => "debug" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
searchkick-0.0.2 | test/test_helper.rb |