testdouble / jasmine-rails

A Jasmine runner for rails projects that's got you covered in both the terminal and the browser
http://rubygems.org/gems/jasmine-rails
MIT License
378 stars 154 forks source link

New layout in app #175

Closed c0mrade closed 8 years ago

c0mrade commented 8 years ago

I'm creating a POC for my app, and I have a layout in the app/views/layouts/poc.html.erb and I'm using a newer version of angular and some other JS files comparing to the rest of the app.

Can I run tests seperately for this layout and seperately for the rest of the app?

How can I test the poc layout with one set of dependencies? and the rest of the app with other set of javascript dependencies?

searls commented 8 years ago

I believe there was a PR recently merged that would allow you to do that: https://github.com/searls/jasmine-rails/pull/172