X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=spec%2Ferd_handler%2Ferd_spec.rb;fp=spec%2Ferd_handler%2Ferd_spec.rb;h=12ef23972e4674b8580e2b03eb6cb40c69797243;hb=54fb8d2f752d1ad35d11a03bb6e1443257a472c9;hp=164a91eb3f170e8bd9c0948584df9f8d3b7231b1;hpb=e63ce01b6c3d62ec3b7354dc6364f43ce3de5d5e;p=erd-marker.git

diff --git a/spec/erd_handler/erd_spec.rb b/spec/erd_handler/erd_spec.rb
index 164a91e..12ef239 100644
--- a/spec/erd_handler/erd_spec.rb
+++ b/spec/erd_handler/erd_spec.rb
@@ -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