Sha256: c59801d84018a681f13c6303cb6b859c38543fb2eb736d290797ae73dbd508ec

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

describe Joybox::UI::MenuLabel do
  behaves_like Joybox::UI::MenuLabel
 
  describe "Initialization" do
    it "should initialize with text & color" do 
      color = "#FFFFFF".to_color
      menu_label = MenuLabel.new text: 'MenuLabel', color: color
      menu_label.should.not == nil
      menu_label.text.should == 'MenuLabel'
      menu_label.color.should.not == nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joybox-1.1.1 spec/motion/joybox-osx/ui/menu_label_spec.rb
joybox-1.1.0 spec/motion/joybox-osx/ui/menu_label_spec.rb