Sha256: 033f5a4ca85c9605574cda1080584589bd70dfa5542dbc6f9ff62718900cef38
Contents?: true
Size: 492 Bytes
Versions: 2
Compression:
Stored size: 492 Bytes
Contents
describe Joybox::UI::Label do behaves_like Joybox::UI::Label describe "Initialization" do it "should initialize with text" do color = "#FFFFFF".to_color label = Label.new text: 'Label', position: [100, 100], color: color label.should.not == nil label.text.should == 'Label' label.position.should == CGPointMake(100, 100) 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/label_spec.rb |
joybox-1.1.0 | spec/motion/joybox-osx/ui/label_spec.rb |