RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dre3k
Check this out: https://github.com/johnbintz/jasmine-headless-webkit
It's allows to run specs without hitting a browser. It's lightning fast.
It took me a little to figure out that for best results web browser must support WebSockets. I was using Opera 11 and Firefox 4 in which WebSockets are disabled by default.
About view testing with rspec and decent_exposure:
Just mock it: