spec/shoes/swt/arc_spec.rb in shoes-swt-4.0.0.pre4 vs spec/shoes/swt/arc_spec.rb in shoes-swt-4.0.0.pre5
- old
+ new
@@ -1,6 +1,6 @@
-require 'shoes/swt/spec_helper'
+require 'spec_helper'
describe Shoes::Swt::Arc do
include_context "swt app"
let(:left) { 100 }
@@ -8,13 +8,13 @@
let(:width) { 300 }
let(:height) { 400 }
let(:angle1) { Shoes::PI }
let(:angle2) { Shoes::HALF_PI }
let(:dsl) { double("dsl object", app: shoes_app, element_width: width,
- element_height: height, element_left: left,
- element_top: top, angle1: angle1, angle2: angle2,
- wedge?: false, pass_coordinates?: nil,
- hidden: false).as_null_object }
+ element_height: height, element_left: left,
+ element_top: top, angle1: angle1, angle2: angle2,
+ wedge?: false, pass_coordinates?: nil,
+ hidden: false).as_null_object }
let(:fill_color) { Shoes::Color.new(40, 50, 60, 70) }
let(:stroke_color) { Shoes::Color.new(80, 90, 100, 110) }
subject { Shoes::Swt::Arc.new(dsl, swt_app) }