Fix script ordering in travis.yml
Force test env in spec/rails_helper