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.
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.
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.