I want to go in and improve the default scaffold (ex
resource_scaffold) a bit and noticed the lack of tests for generators.
So I thought I'd give people a heads up that I'm working on creating
initially tests for the scaffold generator as well as test helpers to
make it simpler to test generators in the future. I'll probably go
through and create tests for the built in generators as well
I have a question about layout. I'm currently placing the scaffold
Does that make sense naming wise? So afterwards there could be:
I've also created the test helpers in
Does that follow convension or should I rather put them somewhere
else, to make it easier for say plugin developers to use them?
Finally as part of my testing I build up a very basic rails directory
structure under railties/test/fixtures/tmp and then delete it again in
the teardown. I have seen similar things done in the tests from
various plugins and it works, can anyone see any issues with that?