Forum: Ruby on Rails open_session for functional tests; should it be moved or use

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Chris Parsons (Guest)
on 2006-04-10 22:18
(Received via mailing list)
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/int...

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
chris parsons, director                           eden development
removed_email_address@domain.invalid              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.
This topic is locked and can not be replied to.