Fix RAILS_ENV=TEST -> RAILS_ENV=test