On Apr 8, 3:22 pm, Jonathan Rochkind <[email protected]> wrote: > I think I'm actually getting there, starting with the > plugin_test_helper, but modifying it for Rspec, as you had done. It's > not THAT hard, and maybe once I fully figure it out, I'll try to submit > it back to plugin_test_helper. (I don't know how I couldn't find > plugin_test_helper in my own googling, showing me that was incredibly > valuable thanks!)
No problem. You let me know if you get the rspec version of it pushed back out, maybe plugin_spec_helper or something ;-) I'll probably have a use for it down the road too. > The one thing I'm still definitely still not getting to work right is > auto-loading of classes. Maybe because "RAILS_ROOT" for the > plugin_test_helper ends up being my_plugin/spec/app_helper -- but my > classes are all in my_plugin/lib and my_plugin/app and such places. I don't know if you've seen this: http://railsguts.com/initialization.html Browsing through the plugin_test_helper code, they have some hooks to modify that initialization process, so that might be a way. Ho-Sheng Hsiao http://hosheng.blogspot.com -- 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.

