Test examples using authlogic with shoulda

Hi
Is there functional testing examples availbale? This for both login
and nonlogin users with or without admin privileges.I Dont know where to
start. Kindly help.

Tom