spec/cg_point_spec.rb in geomotion-0.13.2 vs spec/cg_point_spec.rb in geomotion-0.14.0
- old
+ new
@@ -151,6 +151,14 @@
it "should return false" do
point = CGPointMake(20, 10)
@point.should != point
end
end
-end
\ No newline at end of file
+
+ describe "#to_ary" do
+ it "should allow parallel assigment" do
+ x, y = @point
+ x.should == 10.0
+ y.should == 20.0
+ end
+ end
+end