File: libnotify_test.rb

package info (click to toggle)
ruby-libnotify 0.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 200 kB
  • sloc: ruby: 358; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'helper'

class LibnotifyTest < LibnotifyTestCase
  test "responds to new" do
    assert_respond_to Libnotify, :new
  end

  test "responds to show" do
    assert_respond_to Libnotify, :show
  end

  test "has version" do
    assert defined?(Libnotify::VERSION), "version is defined"
    assert Libnotify::VERSION
  end

  test "delegates icons_dir" do
    assert_equal Libnotify::API.icon_dirs, Libnotify.icon_dirs
  end
end