rails web apps using the mocha testing tool