Sha256: 559e8bfdb17899cba136305049fb400d7a3d24f3973b3943d4de348afce1dcfb

Contents?: true

Size: 404 Bytes

Versions: 3

Compression:

Stored size: 404 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.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

3 entries across 3 versions & 1 rubygems

Version Path
nsnotify-0.0.3 spec/nsnotify_spec.rb
nsnotify-0.0.2 spec/nsnotify_spec.rb
nsnotify-0.0.1 spec/nsnotify_spec.rb