test/mocks/ in rails directory structure

Anyone ever uses test/mocks/development && test/mocks/test directories ?

If someone does, test/mocks/development doesn't really seem like a nice place for putting development environment mocked classes. May be mocks/ should be moved to RAILS_ROOT ? Or may be it should be removed.

Views ?

Anyone ever uses test/mocks/development && test/mocks/test directories ?

I do. Very handy sometimes.

If someone does, test/mocks/development doesn't really seem like a nice place for putting development environment mocked classes. May be mocks/ should be moved to RAILS_ROOT ? Or may be it should be removed.

I think under test/ is the only logical place for it, instead of polluting the root folder even more.

At least all of the mocks are in one place.

Just my two cents.

Anyone ever uses test/mocks/development && test/mocks/test directories?

I do. I use it to stub out libraries that make special system calls or remote API calls. Its handy.

If someone does, test/mocks/development doesn't really seem like a nice place for putting development environment mocked classes. May be mocks/ should be moved to RAILS_ROOT ?

I think RAILS_ROOT makes a bit more sense. But its not a huge deal for me.

The only other place that I can think which makes sense is near the other per-environment settings (config/environment/*), but it still seems intuitive that anything used when testing remains under RAILS_ROOT/test, so that's not even consistent.