On 2008-10-08, at 19:50, Wes Gamble wrote:
I just did a test where I ran one spec and deep deep within the code
under test, I printed out the DB connection of the AR class of a given
object, like so:

<..snip..>

which shows that I am hitting my development database. Why would I see
this output when running a spec that AFAIK, should be running against
the test DB?

Thanks,
wes


This sounds like a dumb question, but in database.yml , have you confirmed that your test DB is configured for use in the test environment?

Cheers,
Nick
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to