ruby on rails - changing the db used with cucumber to the _test db instead of _development -


For whatever reason, my cucumber is using my _development db instead of my _test db.

How do I change it?

This is my database. IML

  test: and test adapter: mysql encoding: UTF 8 database: myapp_test  

but I The error does not specify the database configuration to the adapter

It is also below .... I can only assume that this test is explicit to set it to use DB

  Cucumber: and quektor  

Do you have something like this:

  ENV [" RAILS_ENV "]; = 'Test'  

In your features / support / env.rb file?


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -