diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-09-25 13:26:08 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-25 17:28:10 +0200 |
commit | 7acf64a81bfec9f60d001a5412529088373fc4b5 (patch) | |
tree | 5fec22f71cb434ef86ce5867dc70b1bdd462f56d /railties/lib/rails/generators/test_unit | |
parent | 49c3ad7f7782274504fbe0818b9636d2b362a1a3 (diff) | |
download | rails-7acf64a81bfec9f60d001a5412529088373fc4b5.tar.gz rails-7acf64a81bfec9f60d001a5412529088373fc4b5.tar.bz2 rails-7acf64a81bfec9f60d001a5412529088373fc4b5.zip |
Add namespacing for observer generator
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib/rails/generators/test_unit')
-rw-r--r-- | railties/lib/rails/generators/test_unit/observer/templates/unit_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/test_unit/observer/templates/unit_test.rb b/railties/lib/rails/generators/test_unit/observer/templates/unit_test.rb index 03f6d5666e..cd116f5ce9 100644 --- a/railties/lib/rails/generators/test_unit/observer/templates/unit_test.rb +++ b/railties/lib/rails/generators/test_unit/observer/templates/unit_test.rb @@ -1,8 +1,10 @@ require 'test_helper' +<% module_namespacing do -%> class <%= class_name %>ObserverTest < ActiveSupport::TestCase # Replace this with your real tests. test "the truth" do assert true end end +<% end -%> |