Sha256: cc688ba67d22cdb92bb318b2e55616ddef63495984a820ca117d0b4d2fb0998a
Contents?: true
Size: 758 Bytes
Versions: 5
Compression:
Stored size: 758 Bytes
Contents
require 'rubygems' $:.unshift(File.dirname(__FILE__) + '/../../lib') require 'rosetta_queue' require 'rosetta_queue/spec_helpers' require 'spec/expectations' require 'rosetta_queue/spec_helpers' CONSUMER_LOG_DIR = File.expand_path(File.dirname(__FILE__) + "/../support/tmp") begin RosettaQueue.logger = RosettaQueue::Logger.new(File.join(File.dirname(__FILE__), '../../../log', 'rosetta_queue.log')) rescue Errno::ENOENT Kernel.warn "No log directory setup at the root of rosetta_queue. Using the null logger instead." class NullLogger def info(*args); end def debug(*args); end def fatal(*args); end def error(*args); end def warn(*args); end end RosettaQueue.logger = NullLogger.new end World(RosettaQueue::SpecHelpers)
Version data entries
5 entries across 5 versions & 3 rubygems