提交 a548e2ba 编写于 作者: R Robin Dupret

Make test:isolated run without bundler for Action Mailer

Action Mailer tests weren't able to run in isolation without the bundle
exec prefix since we were requiring gems before requiring abstract_unit.

We don't need the `gem` call thus and the require_relative since the
test directory should be present in the load path when we run any test.
上级 38d6c722
# encoding: utf-8
gem 'activejob'
require 'active_job'
require 'abstract_unit'
require 'active_job'
require 'minitest/mock'
require_relative 'mailers/delayed_mailer'
require 'mailers/delayed_mailer'
class MessageDeliveryTest < ActiveSupport::TestCase
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册