Permalink
Browse files

Rearrange files, make spec/lib heirarchical and symmetric

  • Loading branch information...
1 parent 5a99ed7 commit 84ded36f769f3142d5f6bfcc3a222a16223173df @D4L committed Aug 8, 2012
@@ -1,6 +1,7 @@
module AbstractGraph
module Composition
+ # public Edge class
class Edge
end
@@ -1,6 +1,7 @@
module AbstractGraph
module Composition
+ # public Vertex class
class Vertex
end
@@ -1,11 +1,7 @@
module AbstractGraph
- # public graph class
+ # public Graph class
class Graph
-
- # public constructor
- def initialise
-
- end
end
+
end
@@ -0,0 +1,10 @@
+module AbstractGraph
+ class Graph
+
+ # public constructor
+ def initialize
+
+ end
+
+ end
+end
@@ -0,0 +1,11 @@
+require 'spec_helper'
+
+describe AbstractGraph::Composition::Vertex do
+ describe "#new" do
+
+ it "returns an object of class Vertex" do
+ AbstractGraph::Composition::Vertex.new.class.should == AbstractGraph::Composition::Vertex
+ end
+
+ end
+end
@@ -1,9 +0,0 @@
-require 'spec_helper'
-
-describe AbstractGraph::Graph, "#new" do
-
- it "returns an object of class Graph" do
- AbstractGraph::Graph.new.class.should == AbstractGraph::Graph
- end
-
-end
@@ -0,0 +1,11 @@
+require 'spec_helper'
+
+describe AbstractGraph::Graph do
+ describe "#new" do
+
+ it "returns an object of class Graph" do
+ AbstractGraph::Graph.new.class.should == AbstractGraph::Graph
+ end
+
+ end
+end
@@ -0,0 +1,4 @@
+require 'spec_helper'
+
+describe AbstractGraph::Graph do
+end

0 comments on commit 84ded36

Please sign in to comment.