Sha256: fda9507c1fc26d9c699ba18fdb85907b9d8221d54bcafff602b8172239741a7c
Contents?: true
Size: 997 Bytes
Versions: 9
Compression:
Stored size: 997 Bytes
Contents
require_relative '../../helper' describe Tk::Tile::Scrollbar do it 'initializes' do instance = Tk::Tile::Scrollbar.new instance.class.should == Tk::Tile::Scrollbar instance.tk_parent.should == Tk.root end it 'sets orientation' do s = Tk::Tile::YScrollbar.new s.orient.should == :vertical s.orient :horizontal s.orient.should == :horizontal end end describe Tk::Tile::YScrollbar do it 'initializes' do instance = Tk::Tile::YScrollbar.new instance.class.should == Tk::Tile::YScrollbar instance.tk_parent.should == Tk.root end it 'sets orientation' do s = Tk::Tile::YScrollbar.new s.cget(:orient).should == :vertical end end describe Tk::Tile::XScrollbar do it 'initializes' do instance = Tk::Tile::XScrollbar.new instance.class.should == Tk::Tile::XScrollbar instance.tk_parent.should == Tk.root end it 'sets orientation' do s = Tk::Tile::XScrollbar.new s.cget(:orient).should == :horizontal end end
Version data entries
9 entries across 9 versions & 1 rubygems