Sha256: a73f5e1d8dc5ac584536ba88f0b6c841a45b3cd43024b1afd599805e12aaf9ba
Contents?: true
Size: 625 Bytes
Versions: 4
Compression:
Stored size: 625 Bytes
Contents
class ActiveSupport::TestCase extend Minitest::Spec::DSL if defined?(Minitest::Spec::DSL) require 'minitest/utils/rails/webmock' if defined?(WebMock) require 'minitest/utils/rails/capybara' if defined?(Capybara) require 'minitest/utils/rails/factory_girl' if defined?(FactoryGirl) require 'minitest/utils/rails/database_cleaner' if defined?(DatabaseCleaner) def t(*args) I18n.t(*args) end def l(*args) I18n.l(*args) end end class ActionMailer::TestCase include Rails.application.routes.url_helpers def default_url_options Rails.configuration.action_mailer.default_url_options end end
Version data entries
4 entries across 4 versions & 1 rubygems