views:

84

answers:

0

In both my environment.rb and test_helper.rb files I have:

ENV["RAILS_ENV"] = "development"

I have one functional test written, however when I run it, the script tries to connect to my database using the "test" configuration settings which are in the database.ymal file & won't connect the the database.

How can I run my tests using the "development" environment settings?