Sha256: 81f4255e15a2232b70b03c207b2e3faca698c29f96dbc44d61948b5a062394f2
Contents?: true
Size: 520 Bytes
Versions: 2
Compression:
Stored size: 520 Bytes
Contents
require 'spec_helper' require 'swing/shared' describe Swing::JCheckBox do context 'creation' do let(:new_args) { ['Text'] } it_behaves_like 'enhanced awt component' it 'is possible to set :selected attribute' do box = Swing::JCheckBox.new 'Disconnect', :selected => true box.should be_selected end it 'is possible to set :tool_tip_text attribute' do box = Swing::JCheckBox.new 'Disconnect', :tool_tip_text => 'Blah' box.tool_tip_text.should == 'Blah' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
swing-0.1.4 | spec/swing/j_check_box_spec.rb |
swing-0.1.3 | spec/swing/j_check_box_spec.rb |