Sha256: 3b6dc95b7f77b7a610bc3948e3105d870830ad0bd0c2e09cc0627ae73272af40

Contents?: true

Size: 392 Bytes

Versions: 12

Compression:

Stored size: 392 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

module LarvaSpawn
  class DaemonTest < Minitest::Test
    def test_the_daemon_starts
      config_dir = File.expand_path('../../config', __FILE__)
      logfile = "log/test.log"
      Larva::WorkerPool.any_instance.stubs(keep_workers_alive: true)
      LarvaSpawn::Daemon.start(config_dir: config_dir, logfile: logfile)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
larva-1.3.0 template/test/daemon_test.rb
larva-1.2.0 template/test/daemon_test.rb
larva-1.1.3 template/test/daemon_test.rb
larva-1.1.2 template/test/daemon_test.rb
larva-1.1.1 template/test/daemon_test.rb
larva-1.1.0 template/test/daemon_test.rb
larva-1.0.1 template/test/daemon_test.rb
larva-1.0.0 template/test/daemon_test.rb
larva-0.9.2 template/test/daemon_test.rb
larva-0.9.1 template/test/daemon_test.rb
larva-0.9.0 template/test/daemon_test.rb
larva-0.8.0 template/test/daemon_test.rb