Testing a Rails 3.1 Engine's Javascript with Jasmine
At work, we just upgraded a Rails engine to use the Rails 3.1 asset pipeline. Getting our Jasmine tests to run in the engine’s dummy app wasn’t easy. Here’s the solution we came up with.
At work, we just upgraded a Rails engine to use the Rails 3.1 asset pipeline. Getting our Jasmine tests to run in the engine’s dummy app wasn’t easy. Here’s the solution we came up with.
Post a comment