Sha256: 243d99322f2f85073fb7e2775f17ec1051b614962bc0e14ee35add49525fd05d
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
require 'spec_helper' require 'swing/shared' describe Swing::JButton do context 'creation' do let(:new_args) { ['Text'] } it_behaves_like 'enhanced Awt::Component' it_behaves_like 'enhanced Swing::JComponent' it 'is possible to set :enabled attribute to false' do button = Swing::JButton.new 'Disconnect', :enabled => false button.should_not be_enabled end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
swing-0.1.14 | spec/swing/j_button_spec.rb |
swing-0.1.12 | spec/swing/j_button_spec.rb |
swing-0.1.10 | spec/swing/j_button_spec.rb |