Sha256: 9afeb1fe6a7160414db3e94a30a3da0b78c884e10a4aff7ae3d372ef46541149
Contents?: true
Size: 677 Bytes
Versions: 1
Compression:
Stored size: 677 Bytes
Contents
require 'shoes/spec_helper' shared_examples_for "basic star" do it "retains app" do expect(subject.app).to eq(app) end it "creates gui object" do expect(subject.gui).not_to be_nil end end describe Shoes::Star do include_context "dsl app" let(:left) { 44 } let(:top) { 66 } let(:width) { 100 } let(:height) { 100 } subject { Shoes::Star.new(app, parent, left, top, 5, 50, 30) } it_behaves_like "basic star" it_behaves_like "object with fill" it_behaves_like "object with stroke" it_behaves_like "object with style" it_behaves_like "object with dimensions" it_behaves_like "movable object" it_behaves_like 'object with parent' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre1 | spec/shoes/star_spec.rb |