Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
jst route returns 500 with rspec #231
When I run a test with rspec, fetching assets/.jst returns 500. The error appears to be in the router, but I am not able to track down the actual error. My log file only shows
Note that this works fine if I start my rails server with the test environment. It is only an issue when running rspec.
As a workaround, I added this line to my routes file and it appears to work:
match "assets/:package.:extension", :to=>'jammit#package'