Sha256: 8fd0dea5f90c771965776f4cd6589f1959075aa44a4fc679e9c55e7815f60b8e

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

require 'shoes/swt/spec_helper'

describe Shoes::Swt::Rect do
  include_context "swt app"

  let(:left) { 55 }
  let(:top) { 77 }
  let(:width) { 222 }
  let(:height) { 111 }
  let(:dsl) {::Shoes::Rect.new shoes_app, parent, left, top, width, height}

  subject {
    Shoes::Swt::Rect.new dsl, swt_app
  }

  it_behaves_like "paintable"
  it_behaves_like "updating visibility"
  it_behaves_like 'clickable backend'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre4 spec/shoes/swt/rect_spec.rb
shoes-swt-4.0.0.pre3 spec/shoes/swt/rect_spec.rb