Sha256: fd573c3d4361148f1c68d60fc6fe2b6cd57424750f13087952fd1f9f1aa94e3f

Contents?: true

Size: 354 Bytes

Versions: 60

Compression:

Stored size: 354 Bytes

Contents

require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")

describe Redcar::Menu::Item do
  class DummyCommand; end
  
  before do
    @menu_item = Redcar::Menu::Item.new("File", DummyCommand)
  end

  it "has text" do
    @menu_item.text.should == "File"
  end

  it "has a command" do
    @menu_item.command.should == DummyCommand
  end
end

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
redcar-dev-0.12.17dev plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.16dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.15dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.14dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.13dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.12dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.11dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.10dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.9dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.8dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.7dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.6dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.4dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.3dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.1dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-dev-0.12.0dev-java plugins/application/spec/application/menu/menu_item_spec.rb
redcar-0.11 plugins/application/spec/application/menu/menu_item_spec.rb
redcar-0.11.0dev plugins/application/spec/application/menu/menu_item_spec.rb
redcar-0.10 plugins/application/spec/application/menu/menu_item_spec.rb
redcar-0.9.2 plugins/application/spec/application/menu/menu_item_spec.rb