Sha256: 2f1b20b3f1bd141a73d1496464e0521ddb93d4c77ea91548903e8181d79f264b

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

describe "Application '<%= name %>'" do
  before do
    @app = NSApplication.sharedApplication
  end

  it "has a status menu" do
    @app.delegate.status_menu.nil?.should == false
  end

  it "has three menu items" do
    @app.delegate.status_menu.itemArray.length.should == 3
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
osx-status-bar-app-template-0.0.3 template/osx-status-bar-app/files/spec/main_spec.rb.erb
osx-status-bar-app-template-0.0.2 template/osx-status-bar-app/files/spec/main_spec.rb.erb
osx-status-bar-app-template-0.0.1 template/osx-status-bar-app/files/spec/main_spec.rb.erb