o7pb5g
Last Updated: February 25, 2016
·
1.854K
· allolex

Jasmine, Sinon and Rails

To save yourself some unnecessary clicking when using the jasmine-sinon gem, add the sinon-rails gem to your Gemspec at the same time and then make sure that they are above the application file in spec.js(.coffee). sinon-rails is loaded via require sinon.