See http://www.tonyamoyal.com/2011/01/19/rspec-2-sinatra-and-mongoid-example/
Example service for authentication and user management. Uses Sinatra, Mongoid, and RSpec 2.