mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Don't test daemon
This commit is contained in:
parent
fb44818efb
commit
339ccbd743
@ -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
|
Loading…
Reference in New Issue
Block a user