提交 05585784 编写于 作者: P Piotr Sarnacki

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.
上级 3ac93d66
ENV["RAILS_ENV"] ||= "test"
require File.expand_path("../../../load_paths", __FILE__)
require 'stringio'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册