diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-08-02 16:04:39 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:10 +0200 |
commit | 32baa278925c53f8885e94ea1f3d7c228d42c75f (patch) | |
tree | d355ea11e19984a697da0542376cc8eae914ee9e /railties/test | |
parent | befa77fc18ba54c1be89553466312039c1073f02 (diff) | |
download | rails-32baa278925c53f8885e94ea1f3d7c228d42c75f.tar.gz rails-32baa278925c53f8885e94ea1f3d7c228d42c75f.tar.bz2 rails-32baa278925c53f8885e94ea1f3d7c228d42c75f.zip |
Include routes helpers only for inherited classes in ActionMailer
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/railties/engine_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index db610451bd..3d51d3cf2b 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -410,6 +410,7 @@ module RailtiesTest assert_equal Bukkits._railtie, Bukkits::Engine assert ::Bukkits::MyMailer.method_defined?(:foo_path) + assert !::Bukkits::MyMailer.method_defined?(:bar_path) env = Rack::MockRequest.env_for("/bukkits/from_app") response = AppTemplate::Application.call(env) |