Permalink
Browse files

Merge pull request #1287 from guilleiguaran/removing-test_load_genera…

…tors_from_railties

load_generators_from_railties was removed, remove test with error about it
  • Loading branch information...
josevalim committed May 25, 2011
2 parents c29ce8a + ce4afa2 commit a5ee94f6a2476bab9650453fcef24f29de00cba2
Showing with 0 additions and 7 deletions.
  1. +0 −7 railties/test/generators_test.rb
@@ -185,13 +185,6 @@ class WithOptionsGenerator < Rails::Generators::Base
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")

0 comments on commit a5ee94f

Please sign in to comment.