rSpec Newbie Question - Testing controller


I am very new to rspec and would like to learn more. I have googled
around and asked in irc with no firm answers.

I have the following controller :

   class ProductsController < ApplicationController

     before_filter :loadsidebar

     def show
       @category = Category.find(params[:id])
       @products = @category.products


     def loadsidebar
       @categories = Category.find(:all)


rCov reports that the code in the show and loadsidebar methods is not
covered. Can someone please guide me to how best to test these?


Check out