sinisterchipmunk / jax

Framework for creating rich WebGL-enabled applications using JavaScript and Ruby
http://jaxgl.com
MIT License
96 stars 16 forks source link

Scaffold generates faulty tests #38

Closed nat-n closed 12 years ago

nat-n commented 12 years ago

To replicate:

jax new bugdemo cd bugdemo jax generate scaffold test_breaker jax server

Now in the test suite: `Error: Route not recognized: 'test_breaker/index' (controller not found)

I guess scaffolds/controllers shouldn't contain underscores, so maybe generate should complain?

sinisterchipmunk commented 12 years ago

Thanks for reporting this. It should have camelized the name (test_breaker => TestBreaker) automatically.