Sha256: 5580a4d2cfa38dd6508b7f5a7f484cac34099474dc7f1ad303284db749fea57d

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper.rb'

class TestMac < Test::Unit::TestCase

  def setup
    @notifier = Autotestforphp::Notification::Mac
    @notifier.stubs(:system)
  end

  def test_notify
    @notifier.expects(:system).with("growlnotify -n autotest --image image -m 'msg' -t title")
    @notifier.notify("title", "msg", "image")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fgrehm-autotestforphp-0.0.1 test/test_mac.rb
fgrehm-autotestforphp-0.0.2 test/test_mac.rb