Sha256: ef6c00d8cb422f4b53098f476c962c27122797c52fdf72cf1167b4cbb2832515
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
require 'shoes/spec_helper' describe Shoes::Oval do include_context "dsl app" let(:left) { 20 } let(:top) { 30 } let(:width) { 100 } let(:height) { 200 } describe "basic" do subject { Shoes::Oval.new(app, parent, left, top, width, height) } it_behaves_like "object with style" do let(:subject_without_style) { Shoes::Oval.new(app, parent, left, top, width, height) } let(:subject_with_style) { Shoes::Oval.new(app, parent, left, top, width, height, arg_styles) } end it_behaves_like "object with dimensions" it_behaves_like "movable object" it_behaves_like "left, top as center" it_behaves_like "object with parent" #it_styles_with :art_styles, :center, :dimensions, :radius end end
Version data entries
4 entries across 4 versions & 3 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.pre4 | spec/shoes/oval_spec.rb |
shoes-core-4.0.0.pre3 | spec/shoes/oval_spec.rb |
shoes-swt-4.0.0.pre2 | spec/shoes/oval_spec.rb |
shoes-dsl-4.0.0.pre2 | spec/shoes/oval_spec.rb |