End of the day
[erd-marker.git] / spec / erd_handler / erd_spec.rb
index 164a91eb3f170e8bd9c0948584df9f8d3b7231b1..12ef23972e4674b8580e2b03eb6cb40c69797243 100644 (file)
@@ -26,9 +26,12 @@ module ErdHandler
         erd.mark.should == 4.5
         erd.should have(2).vertices
         erd.should have(1).edges
+        
+        erd.vertices[0].neighbours.should include(erd.vertices[1])
+        erd.vertices[1].neighbours.should include(erd.vertices[0])        
       end
       
       it "reads and creates a box with a self-loop"
     end # #initialize
   end
-end
\ No newline at end of file
+end