[mocha-developer] Named Scope

Dustin Tinney tinney at gmail.com
Thu Aug 14 14:09:05 EDT 2008


With the introduction of named scope in rails does anyone have mocha  
testing suggestions for something like this:

@person 
.completed_moves 
.in_locaiton(params[:location]).in_site(params[:site]).find(:first)

.dustin



More information about the mocha-developer mailing list