Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit a5ee94f6a2476bab9650453fcef24f29de00cba2 2 parents c29ce8a + ce4afa2
@josevalim josevalim authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 railties/test/generators_test.rb
View
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")
Please sign in to comment.
Something went wrong with that request. Please try again.