Open_session for functional tests; should it be moved or use

Hi all,

I’m chewing through writing some functional tests for an app at the
moment, and it occurs to me that open_session could be used to help
write single-controller tests as well as the integration ones. Used as
described here[1]; it’s an extremely useful idiom.

Any thoughts? Should it be moved, or generally made available, or am I
missing the point here?

Regards
Chris

[1]
http://jamis.jamisbuck.org/articles/2006/03/09/integration-testing-in-rails-1-1


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
chris parsons, director eden development
[email protected] www.edendevelopment.co.uk
0845 0097 094 po box 425, winchester, so23 0wy, uk


This electronic message and all contents contain information from
the sender which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for
the addressee(s) only. If you are not an addressee, any copying,
disclosure, distribution or use of the contents of this message is
prohibited. If you have received this electronic message in error,
please notify the sender by reply e-mail and destroy the original
message and all copies. The sender does not accept liability for
any errors or omissions.