1 require File.join( File.dirname(__FILE__), "..", "spec_helper" )
5 describe "associations" do
6 it "should have and beong to many content nodes"
7 it "should have and belong to many blogs"
8 it "should acts as a tree"
11 it "should require a name"
12 it "should require a name to be unique"
16 it "should return find_alpha" do
17 Section.find_alpha.should_not be_nil
20 it "should return find_ordered_parents" do
21 Section.find_ordered_parents.should_not be_nil
27 it "should provide a content_count" do
29 ## TODO: do whatever to build a valid instance
30 content_count.should_not be_nil