Sha256: 57f9726c01f01be1778b4129a39aa9fa2d7b94a2900f817620cb8591f611ca78
Contents?: true
Size: 582 Bytes
Versions: 1
Compression:
Stored size: 582 Bytes
Contents
require 'spec_helper' describe Shoes::Swt::Line do include_context "swt app" let(:dsl) { Shoes::Line.new shoes_app, parent, point_a, point_b } let(:point_a) { Shoes::Point.new(10, 100) } let(:point_b) { Shoes::Point.new(300, 10) } subject { Shoes::Swt::Line.new(dsl, swt_app) } context "#initialize" do it { is_expected.to be_instance_of(Shoes::Swt::Line) } its(:dsl) { is_expected.to be(dsl) } end it_behaves_like "paintable" it_behaves_like "updating visibility" it_behaves_like "clickable backend" it { is_expected.to respond_to :remove } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre7 | spec/shoes/swt/line_spec.rb |