Thanks for the reply Auvi.

I have been tailing the test log. It is showing me that the records I
am watching are getting update on the test db as expected. But when I
do a subsequent AR find query to pull them out and run assertions on
them they do not match what the test log was showing. That's why I am
trying to get a peek at the db itself.

Is it poor form/problematic to run AR find queries in functional
tests?

Thanks, EG

On Nov 12, 5:43 pm, Auvi <[email protected]> wrote:
> try this from the command line
>  tail -f log/test.log
> ...and run your tests from another console
> hope it helps!
>
> On Nov 12, 3:41 pm, elliottg <[email protected]> wrote:
>
>
>
> > I'm wanting to be able to inspect what is actually getting written to
> > the test database when/after tests are ran.
>
> > However I do no not know how to do this. Since after each test is ran
> > the DB is wiped. How can I somehow prevent  the BD from getting
> > cleared out after running a test so I can manually check it's content?
>
> > I am using MySQL, Shoulda and Factory Girl.
>
> > Thank you.
> > Elliott G
--~--~---------~--~----~------------~-------~--~----~
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