Sha256: d3fc020446d6d6efed58510dad2743f54e5672a223bee3227dd0c48f4e081b90

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

require 'spec_helper'

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

  let(:left) { 55 }
  let(:top) { 77 }
  let(:points) { 7 }
  let(:outer) { 100 }
  let(:inner) { 20 }
  let(:dsl) { Shoes::Star.new shoes_app, parent, left, top, points, outer, inner }

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

  context "#initialize" do
    its(:dsl) { is_expected.to be(dsl) }
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre7 spec/shoes/swt/star_spec.rb