diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-18 10:43:10 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-18 16:21:10 +0100 |
commit | a2e2e73c5ef7c9082810d77c831c50c91011e6d9 (patch) | |
tree | 86eb986b1cc598859c3930c52f09e243dce40f9a /railties/test/generators_test.rb | |
parent | 4c00c65c58055b341b4ca59a38c3c93082049c84 (diff) | |
download | rails-a2e2e73c5ef7c9082810d77c831c50c91011e6d9.tar.gz rails-a2e2e73c5ef7c9082810d77c831c50c91011e6d9.tar.bz2 rails-a2e2e73c5ef7c9082810d77c831c50c91011e6d9.zip |
Ensure generators can be invoked by their shortcut and remove attr_reader tasks.
Diffstat (limited to 'railties/test/generators_test.rb')
-rw-r--r-- | railties/test/generators_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb index 2df218debc..e349040fe2 100644 --- a/railties/test/generators_test.rb +++ b/railties/test/generators_test.rb @@ -34,8 +34,8 @@ class GeneratorsTest < GeneratorsTestCase Rails::Generators.invoke :model, ["Account"], :behavior => :skip end - def test_find_by_namespace_without_base_or_context - assert_nil Rails::Generators.find_by_namespace(:model) + def test_find_by_namespace_without_base_or_context_looks_into_rails_namespace + assert Rails::Generators.find_by_namespace(:model) end def test_find_by_namespace_with_base |