lundi 26 septembre 2016

Test runs on development instead of on TEST environment

Guard gem is installed. When I run test with bundle exec guard,and pry somewhere within a test scope, RAILS_ENV outputs development instead of test.

So I need to do something like RAILS_ENV=test bundle exec guard all the time.

Any ideas to fix this behaviour?

Aucun commentaire:

Enregistrer un commentaire