Commit d010d8f4

mo khan <mo@mokhan.ca>
2013-06-17 03:16:04
fix broken spec
1 parent 8047fe0
Changed files (1)
spec
spec/controllers/tag_controller_spec.rb
@@ -16,12 +16,12 @@ describe TagsController do
       get :show, :id => tag
     end
 
-    it "should return each tutorial that is tagged" do
-      assigns(:tutorials).should include(tagged_tutorial)
+    it "should include the total tutorials tagged" do
+      assigns(:total_tutorials).should == 1
     end
 
-    it "should not return tutorials that are not tagged" do
-      assigns(:tutorials).should_not include(untagged_tutorial)
+    it "should include the total creations tagged" do
+      assigns(:total_creations).should == 1
     end
 
     it "should return each cake that is tagged" do