centresource / angularjs_rails_demo

A fleshed out demo of Rails / Angular.js integration
Other
98 stars 35 forks source link

Jasmine cannot find angular.min since it was moved to public/ja.. #3

Open rur opened 12 years ago

rur commented 12 years ago

Since the Angular code was moved out of the asset pipeline the following is raising an exception when I run Jasmine:

= require angular.min

controllersSpec.js Line 2

wdperson commented 11 years ago

Asset pipeline I believe is the current way to organize your code. I had this same issue and I fixed it by copying the files in public/javascripts to the app/assets/javascripts folder.