Don't test daemon

This commit is contained in:
Hakan Ensari 2018-09-30 22:47:10 +01:00
parent fb44818efb
commit 339ccbd743

View File

@ -1,19 +0,0 @@
# frozen_string_literal: true
require_relative 'helper'
require 'scheduler'
describe Scheduler do
let :scheduler do
Scheduler.new
end
after do
Process.kill('TERM', scheduler.pid) if scheduler.pid
end
it 'forks a scheduler' do
scheduler.start
Process.getpgid(scheduler.pid) # won't raise Errno::ESRCH
end
end