<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 24 Jan 2012, at 10:56, James Cumming wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 10pt; position: static; z-index: auto; "><div><span>I find the same thing with my tests. My request specs and model specs take about 10 - 20 secs, but I have been moving as much of my code to the lib folder and sometimes even to app/extensions folder and testing this with the specs_no_rails approach. <br></span></div></div></div></blockquote><br></div><div><br></div><div>This is exactly what Tom Clements advocated in his Magrails talk:</div><div><br></div><div>Video with crap audio: <a href="http://www.youtube.com/watch?v=0Oim2goFYCs">http://www.youtube.com/watch?v=0Oim2goFYCs</a></div><div>Blog post background: <a href="http://tom-clements.com/blog/2011/10/23/4-steps-to-faster-rails-tests/">http://tom-clements.com/blog/2011/10/23/4-steps-to-faster-rails-tests/</a></div><br><div>It's where I'm heading at the moment as well and found when not sure where to start on this process, just considered it part of the "refactor" step in the red/green/refactor of my code.</div><div><br></div><div>Paul</div></body></html>