Sha256: 20108115228e8b77f5b9a14d7b409b67fe526c1cb78c71f531f4ed196c8c2499

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

require 'spec_helper'

describe Swing::JButton do
  it 'is possible to set :enabled attribute to false' do
    button = Swing::JButton.new 'Disconnect', :enabled => false
    button.should_not be_enabled
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swing-0.1.2 spec/swing/j_button_spec.rb
swing-0.1.1 spec/swing/j_button_spec.rb
swing-0.1.0 spec/swing/j_button_spec.rb