rails_api_auth icon indicating copy to clipboard operation
rails_api_auth copied to clipboard

Forcing SSL even on test env

Open nickydonna opened this issue 9 years ago • 1 comments

Because force_ssl is only false on development, you get redirected when running test. Maybe check for development and test?

nickydonna avatar Feb 09 '17 13:02 nickydonna

If we switch it off for tests we cannot test that it works. I guess you can fake an SSL request in tests?

marcoow avatar Feb 09 '17 13:02 marcoow