test/autotest_notification/test_mac.rb in blackwinter-autotest-notification-1.8.0 vs test/autotest_notification/test_mac.rb in blackwinter-autotest-notification-2.2.0

- old
+ new

@@ -36,10 +36,10 @@ AutotestNotification::Mac.expects(:system).with("growlnotify -n autotest --image image -s -p 0 -m 'msg' -t title") AutotestNotification::Mac.notify("title", "msg", "image", 1, 1) end def test_success_sound_is_played_when_specified_and_test_success - AutotestNotification.const_set :SUCCESS_SOUND, sound_path + AutotestNotification.const_set :SUCCESS_SOUND, sound_path AutotestNotification::Mac.expects(:play).with(sound_path) AutotestNotification::Mac.notify("title", "msg", "image", 1, 0) end def test_failure_sound_is_played_when_specified_and_tests_fail \ No newline at end of file