Dump out DOM that you want to test. Use jasmine-fixtures to load that DOM into your Jasmine specs. See github.com/mavenlink/jasmine-fixtures for more.
Roger Neel, Jonathan Barnes, JB Steadman
gem "jasmine-fixtures", "~> 0.1.3"