I normally run RSpec with test
environment with CircleCI.
Is there any way to run specific test case under development
environment for workaround.
PS I found some issue on rails-spec which acting up under test environment.
您可以使用allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new("development"))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.