Jasminerice allows any template put inside spec/javascript/fixtures
to be treated as a fixture. You just need to execute loadFixture 'fixtureName'
. Fixture documentation for Jasminerice explains a bit more.
I would not go with rendering the same views as in app/views
. If you're doing it right, you're be only depending on minor structure (classes, etc) that you can easily replicate in a fixture. If you then need to check that your actual views comply with these assumptions, you can write a request spec (sadly, rspec views spec default matchers cannot check document structure, though you can always rely on some nokogiri-fu for that.
If you have some partials, you can rely on Jasminerice::HelperMethods
to provide some methods/variables.