Sha256: 5584751e37e5168d2985ab9bdf2b45f22edb988c1230ac0dcef6e81499474b9c
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
require 'spec_helper' describe Shoes::Swt::Arrow do include_context "swt app" let(:left) { 55 } let(:top) { 77 } let(:width) { 222 } let(:height) { 222 } let(:dsl) { ::Shoes::Arrow.new shoes_app, parent, left, top, width } subject { Shoes::Swt::Arrow.new dsl, swt_app } it_behaves_like "paintable" it_behaves_like "updating visibility" it_behaves_like 'clickable backend' it "clears the path" do expect(subject.painter).to receive(:clear_path) subject.update_position end it "disposes of the painter" do expect(subject.painter).to receive(:dispose) subject.dispose end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre7 | spec/shoes/swt/arrow_spec.rb |