Ensure that Rails.env is equal to "test" by default when running tests.
Rails.env when running tests on localhost differs from travis ci which makes it harder to write tests that check env related things.
Showing
想要评论请 注册 或 登录
Rails.env when running tests on localhost differs from travis ci which makes it harder to write tests that check env related things.