According to the Rails 2.1 changeset, creating mock objects for use in
test and development environments is 'antiquated'.

If that's so, where should you put them?

I'm upgrading an app from 2.0.5 to 2.1.0 and we have mocked some
objects which make external calls.  The mocks for those objects live
in 'test/mocks/development' and 'test/mocks/test'.

Where should they go, if not there?

I find that those directories don't get loaded when I use gem
dependencies with "config.gem" in my environment.rb.  If I remove the
config.gem statements, they DO get loaded.

I'd love to use the dependencies, but how do I load my mocks?

Thanks,
Isaac
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to