diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-08-03 22:36:12 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:11 +0200 |
commit | db8a864e693034b5a0d03396a0c297d5557862ed (patch) | |
tree | aacb7b4cec213abd8e01d94f027b2b2735c0f876 /railties/test | |
parent | a7c6fe4c2a577bd7e9871aa4746d70c0984325db (diff) | |
download | rails-db8a864e693034b5a0d03396a0c297d5557862ed.tar.gz rails-db8a864e693034b5a0d03396a0c297d5557862ed.tar.bz2 rails-db8a864e693034b5a0d03396a0c297d5557862ed.zip |
Add table_name_prefix to Engine's namespace automatically
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/railties/engine_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index c845843095..47a38d7aeb 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -408,6 +408,8 @@ module RailtiesTest boot_rails + assert_equal "bukkits_", Bukkits.table_name_prefix + assert_equal "bukkits", Bukkits::Engine.engine_name assert_equal Bukkits._railtie, Bukkits::Engine assert ::Bukkits::MyMailer.method_defined?(:foo_path) assert !::Bukkits::MyMailer.method_defined?(:bar_path) |