Sha256: fb1e25488e9d0923f1a16b575cfb5182e8ca350220b39ab5021c616e72769385

Contents?: true

Size: 288 Bytes

Versions: 4

Compression:

Stored size: 288 Bytes

Contents

require File.dirname(__FILE__) + '/helper'

class TestSensu < Minitest::Test
  def test_sensu_notify
    sensu = God::Contacts::Sensu.new
    sensu.check_name = "TestSensuContact"

    UDPSocket.any_instance.expects(:send)
    sensu.notify("Test", Time.now, "Test", "Test", "")
  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
resurrected_god-0.14.0 test/test_sensu.rb
mcproc-2016.2.20 test/test_sensu.rb
god-0.13.7 test/test_sensu.rb
god-0.13.6 test/test_sensu.rb