diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-25 00:05:32 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-25 00:05:32 -0700 |
commit | a5ee94f6a2476bab9650453fcef24f29de00cba2 (patch) | |
tree | 39b6fe1020f249154ded29c5d418fda07b695aff | |
parent | c29ce8add01ed54a1d87c1420672aea70eab9297 (diff) | |
parent | ce4afa25b431aa25bbd033c08acdc2939d197f61 (diff) | |
download | rails-a5ee94f6a2476bab9650453fcef24f29de00cba2.tar.gz rails-a5ee94f6a2476bab9650453fcef24f29de00cba2.tar.bz2 rails-a5ee94f6a2476bab9650453fcef24f29de00cba2.zip |
Merge pull request #1287 from guilleiguaran/removing-test_load_generators_from_railties
load_generators_from_railties was removed, remove test with error about it
-rw-r--r-- | railties/test/generators_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb index 1264ac7764..301ae80bcf 100644 --- a/railties/test/generators_test.rb +++ b/railties/test/generators_test.rb @@ -185,13 +185,6 @@ class GeneratorsTest < Rails::Generators::TestCase Rails::Generators.subclasses.delete(WithOptionsGenerator) end - def test_load_generators_from_railties - Rails::Generators::ModelGenerator.expects(:start).with(["Account"], {}) - Rails::Generators.send(:remove_instance_variable, :@generators_from_railties) - Rails.application.expects(:load_generators) - Rails::Generators.invoke("model", ["Account"]) - end - def test_rails_root_templates template = File.join(Rails.root, "lib", "templates", "active_record", "model", "model.rb") |