Sha256: 766c153399cdd844739186cd01cbd9676d0d8113a53bfc4e7bf644fef9c64646

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class SnarlTest < Minitest::Test
  test "sends notification" do
    Snarl.expects(:show_message).with("TITLE", "MESSAGE", "IMAGE")

    Notifier::Snarl.notify(title: "TITLE", message: "MESSAGE", image: "IMAGE")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
notifier-1.2.2 test/notifier/snarl_test.rb
notifier-1.2.1 test/notifier/snarl_test.rb
notifier-1.1.0 test/notifier/snarl_test.rb
notifier-1.0.0 test/notifier/snarl_test.rb