Sha256: 795f819b33556e001ded58c5f054377cd9634595de5f7cd4f9777d09ec1a13a5
Contents?: true
Size: 553 Bytes
Versions: 16
Compression:
Stored size: 553 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Larva class DaemonTest < Minitest::Test def test_workerpool_is_started processors = {foo: 'bar'} Configurator.stubs(:configure) WorkerPool.expects(:start).with(processors) Daemon.start(processors, logfile: "./log/foo.log", config_dir: config_dir) end def test_configurator_is_called options = {logfile: "./log/foo.log", config_dir: config_dir} Configurator.expects(:configure).with(options) Daemon.start({}, options) end end end
Version data entries
16 entries across 16 versions & 1 rubygems