Sha256: ca279d7e11c4f129164959395bd8b4e28750d9b8048b309ef772eb74b6758102

Contents?: true

Size: 274 Bytes

Versions: 30

Compression:

Stored size: 274 Bytes

Contents

require 'test/unit'
require 'sys_watchdog'

class SysWatchdogTest < Test::Unit::TestCase
  def test_run
    conf_file = File.join File.dirname(__FILE__), 'sys_watchdog_test.yml'
    sw = SysWatchdog.new conf_file: conf_file, log_file: STDOUT
    sw.run once: true
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
sys_watchdog-0.1.20 test/test_sys_watchdog.rb
sys_watchdog-0.1.19 test/test_sys_watchdog.rb
sys_watchdog-0.1.18 test/test_sys_watchdog.rb
sys_watchdog-0.1.17 test/test_sys_watchdog.rb
sys_watchdog-0.1.16 test/test_sys_watchdog.rb
sys_watchdog-0.1.15 test/test_sys_watchdog.rb
sys_watchdog-0.1.14 test/test_sys_watchdog.rb
sys_watchdog-0.1.13 test/test_sys_watchdog.rb
sys_watchdog-0.1.12 test/test_sys_watchdog.rb
sys_watchdog-0.1.11 test/test_sys_watchdog.rb
sys_watchdog-0.1.10 test/test_sys_watchdog.rb
sys_watchdog-0.1.9 test/test_sys_watchdog.rb
sys_watchdog-0.1.8 test/test_sys_watchdog.rb
sys_watchdog-0.1.7 test/test_sys_watchdog.rb
sys_watchdog-0.1.6 test/test_sys_watchdog.rb
sys_watchdog-0.1.5 test/test_sys_watchdog.rb
sys_watchdog-0.1.4 test/test_sys_watchdog.rb
sys_watchdog-0.1.3 test/test_sys_watchdog.rb
sys_watchdog-0.1.2 test/test_sys_watchdog.rb
sys_watchdog-0.1.1 test/test_sys_watchdog.rb