Sha256: 4cebf85281cc95357cb68ec78e6d45a489063741d9bcad2976c36539e6e16add
Contents?: true
Size: 516 Bytes
Versions: 7
Compression:
Stored size: 516 Bytes
Contents
require 'test_helper' class ExtActionMailerTest < ActiveSupport::TestCase test "monkeypatch location" do monkeypatch = ActionMailer::Base.instance_method(:each_template) path = monkeypatch.source_location.first assert_match "maildown/ext/action_mailer.rb", path monkeypatch = ActionView::OptimizedFileSystemResolver.instance_method(:extract_handler_and_format_and_variant) path = monkeypatch.source_location.first assert_match "maildown/ext/action_view.rb", path end end
Version data entries
7 entries across 7 versions & 1 rubygems