Sha256: b7a64c429e318b06da7e0822edbd2387e53b2e38d15995ffe1bafdd861bf7797
Contents?: true
Size: 959 Bytes
Versions: 1
Compression:
Stored size: 959 Bytes
Contents
ENV['RAILS_ENV'] = 'test' require 'rubygems' require 'bundler/setup' require 'combustion' Combustion.initialize! :action_controller require 'appsignal' require 'rspec/rails' require 'delayed_job_active_record' Delayed::Worker.logger = Logger.new(Tempfile.new('roqua-support-delayed-job.log')) ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => ':memory:' ActiveRecord::Base.logger = Delayed::Worker.logger ActiveRecord::Migration.verbose = false ActiveRecord::Schema.define do create_table :delayed_jobs, :force => true do |t| t.integer :priority, :default => 0 t.integer :attempts, :default => 0 t.text :handler t.text :last_error t.datetime :run_at t.datetime :locked_at t.datetime :failed_at t.string :locked_by t.string :queue t.string :cron t.timestamps null: false end add_index :delayed_jobs, [:priority, :run_at], :name => 'delayed_jobs_priority' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roqua-support-0.1.26 | spec/spec_helper.rb |