spec/savage/directions/arc_to_spec.rb in savage-1.1.7 vs spec/savage/directions/arc_to_spec.rb in savage-1.1.8
- old
+ new
@@ -10,10 +10,10 @@
before :each do
@dir = dir_class.new(100,200,300,true,false,400,500)
end
include Command
- include DirectionShared
+ it_behaves_like 'Direction'
it 'should have a target' do
@dir.respond_to?(:target).should == true
@dir.target.class.should == Point
end