Can I test a javascript file inside my public folder with jasminerice and rails 3.2.8? -
i having little bit of problem testing javascript file within rails application. have file within public directory because want serve statically.
i using jasminerice 0.0.9 test other javascript files within app/assets , seem working right.
when trying test public javascript file not beingness able require within test doing:
#= require /public/myfile.js
do knows if possible test file within public directory jasminerice or if there other way test it?
try adding a:
//= require_tree public
.. before file inclusion. (no extension):
#= require myfile
javascript ruby-on-rails ruby-on-rails-3.2 tdd jasmine
No comments:
Post a Comment