James Byrne wrote: Of course, the last example should have been: When /user is authenticated/ do # We use Authlogic for authentication so just test that gem is loaded assert defined?("Authlogic") end -- Posted via http://www.ruby-forum.com/.