Sha256: 0f2553f603c7f08e5239e9530c77e75caf3c04713e9c9796e7b10bc15401443b

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 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.r.should == color.red
      menu_label.color.g.should == color.green
      menu_label.color.b.should == color.blue
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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