spec/shoes/swt/line_spec.rb in shoes-swt-4.0.0.pre4 vs spec/shoes/swt/line_spec.rb in shoes-swt-4.0.0.pre5
- old
+ new
@@ -1,10 +1,10 @@
-require 'shoes/swt/spec_helper'
+require 'spec_helper'
describe Shoes::Swt::Line do
include_context "swt app"
- let(:container) { double('container', :disposed? => false).as_null_object }
+ let(:container) { double('container', disposed?: false).as_null_object }
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 {