Have you got your test environment configured in your database.yml?

Sent from my iPhone

On 19 Mar 2010, at 03:05, Chris Baclig <[email protected]> wrote:

I can't seem to figure out how to run my specs on Heroku using `heroku
rake spec` from my command line.  I'm getting this error:

undefined method `[]' for nil:NilClass
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/ databases.rake:
360

Where the error is coming from these lines:

abcs = ActiveRecord::Base.configurations
case abcs["test"]["adapter"]

Have I forgotten to setup something on Heroku?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en .


--
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to