Sha256: 86e97f00bf9995c9dcc54b755c273b9ca8cf8f1a43c907307cb0d7478fc6882c

Contents?: true

Size: 590 Bytes

Versions: 16

Compression:

Stored size: 590 Bytes

Contents

require 'rubygems'
require 'minitest/autorun'
require 'minitest/spec'
require 'rack/test'

ENV['RACK_ENV'] = 'test'

require 'fanforce/plugin_worker'

# Clean databases before each test case
def clean_dbs
  Fanforce::PluginWorker.set_config(
      iron_token: 'E71vJRaCmVMTVczb7CHvKJTKVFY',
      iron_project_id: '54e12b1470d1410009000042',
      redis_url_errorlog: 'redis://localhost:6379/5'
  )
  Fanforce::PluginWorker.iron_mq.queues.all.each do |queue|
    queue.delete_queue
  end
  Fanforce::PluginWorker::Errors.redis.flushdb
  Fanforce::PluginWorker.log.level = Logger::FATAL
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fanforce-plugin-worker-2.0.0.rc15 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc14 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc13 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc12 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc11 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc10 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc9 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc8 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc7 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc6 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc5 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc4 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc3 test/test_helper.rb
fanforce-plugin-worker-2.0.0.rc1 test/test_helper.rb
fanforce-plugin-worker-1.6.0 test/test_helper.rb
fanforce-plugin-worker-1.6.0.rc3 test/test_helper.rb