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 ? -- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 23, 10:02 am, Pratik <pratikn...@gmail.com> wrote:> 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.> Views ? > -- > Cheers! > - Pratikhttp://m.onkey.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 23, 10:02 am, Pratik <pratikn...@gmail.com> wrote:> 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On 8/24/07, Josh Peek <joshpeek@gmail.com> wrote:> 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. -- * J * ~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---