Sha256: 204db90f2050739570f7365bffdd49c08510e246beb36aa2278da4a341065bfb
Contents?: true
Size: 580 Bytes
Versions: 6
Compression:
Stored size: 580 Bytes
Contents
describe UnderOs::UI::Label do describe '#initialize' do it "should spawn new inputs" do label = UnderOs::UI::Label.new label.class.should == UnderOs::UI::Label end it "should wrap the UILabel class" do label = UnderOs::UI::Label.new label._.class.should == UILabel end it "should accept the 'text' option" do label = UnderOs::UI::Label.new(text: 'label text') label.text.should == 'label text' end it "should assign correct tag name" do UnderOs::UI::Label.new.tagName.should == 'LABEL' end end end
Version data entries
6 entries across 6 versions & 2 rubygems