1 require File.join( File.dirname(__FILE__), "..", "spec_helper" )
8 tag1 = Tag.new(:name => 'umbrellas')
9 tag2 = Tag.new(:name => 'sunscreen')
10 tag3 = Tag.new(:name => 'hats')
11 tag4 = Tag.new(:name => 'sandals')
12 tag5 = Tag.new(:name => 'towels')
13 tag6 = Tag.new(:name => 'beach')
14 tag7 = Tag.new(:name => 'vacations')
15 tag8 = Tag.new(:name => 'holidays')
18 it "should find all tags ordered by name" do
19 Tag.all_ordered.should_not be_nil
22 #it "should find ordered parents" do
23 # Tag.all_parents.should_not be_nil
26 it "should find related tags" do
27 #Tag.find_related_tags(id_list)
30 #it "should provide a product count" do
32 # tag.product_count.should_not be_nil