Skip to content

Commit

Permalink
By default, do not enable HTTPS when running specs
Browse files Browse the repository at this point in the history
Until this commit the specs hitting app endpoints would have their
behavior altered depending on what was set in your `.env.local` file for
`ENABLE_HTTPS`. It should always be set to "no" when the specs are being
run.

Adding .env.test with the necessary environment variables will force the
test environment to always run with ENABLE_HTTPS turned off.
  • Loading branch information
jayroh committed Jan 26, 2017
1 parent 4bc8707 commit c7b143f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
RAILS_ENV=test
ENABLE_HTTPS=no

0 comments on commit c7b143f

Please sign in to comment.