Sha256: 7541b23f416b65ce63eeeaf33f9927b3f086ac5b12c30ff93db8355de60d0bf4
Contents?: true
Size: 432 Bytes
Versions: 4
Compression:
Stored size: 432 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/helper' class TestProwl < Test::Unit::TestCase def test_live_notify prowl = God::Contacts::Prowl.new prowl.name = "Prowly" prowl.apikey = 'put_your_apikey_here' Prowly.expects(:notify).returns(mock(:succeeded? => true)) prowl.notify("Test", Time.now, "Test", "Test", "") assert_equal "sent prowl notification to #{prowl.name}", prowl.info end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
firenxis-god-0.11.0 | test/test_prowl.rb |
god-0.11.0 | test/test_prowl.rb |
god-0.10.1 | test/test_prowl.rb |
god-0.9.0 | test/test_prowl.rb |