Sha256: 95588d7b9167877b86ce0563764bf6bb8088ea39eb8731bf4b1dbce00c7c74c6

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require 'spec_helper'

describe Nsnotify do
  describe "#usable?" do
    it "should be usable" do
      Nsnotify.usable?.should eq true
    end
  end

  describe "#notify" do
    it "should notify.." do
      Nsnotify.app_name = "Rspec"
      Nsnotify.notify "Nsnotify!", "Can you see my tongue?!"
      sleep 2
      Nsnotify.success "Yeah if this works!"
      sleep 2
      Nsnotify.error "Did something go wrong?!?"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nsnotify-0.0.4 spec/nsnotify_spec.rb