Sha256: 27d6fccb6f9985582dab67db4b5c743bec2e76b621663866399de72390cc1607

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 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

1 entries across 1 versions & 1 rubygems

Version Path
autotestforphp-0.0.3 test/test_mac.rb