projects
/
erd-marker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
End of the day
[erd-marker.git]
/
spec
/
erd_handler
/
erd_spec.rb
diff --git
a/spec/erd_handler/erd_spec.rb
b/spec/erd_handler/erd_spec.rb
index 164a91eb3f170e8bd9c0948584df9f8d3b7231b1..12ef23972e4674b8580e2b03eb6cb40c69797243 100644
(file)
--- 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.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
it "reads and creates a box with a self-loop"
end # #initialize
end
-end
\ No newline at end of file
+end