diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-24 22:03:10 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-24 22:03:10 -0500 |
commit | ce4afa25b431aa25bbd033c08acdc2939d197f61 (patch) | |
tree | ac9b0849722b50e9f8a0d29152dd031b02861b4f /railties/test | |
parent | 52e01fc59dfcadaa0fd7773fb4d9a04dff297ce8 (diff) | |
download | rails-ce4afa25b431aa25bbd033c08acdc2939d197f61.tar.gz rails-ce4afa25b431aa25bbd033c08acdc2939d197f61.tar.bz2 rails-ce4afa25b431aa25bbd033c08acdc2939d197f61.zip |
load_generators_from_railties was removed, remove failing test_load_generators_from_railties
Diffstat (limited to 'railties/test')
-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") |