diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-26 03:44:14 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-26 03:44:14 -0700 |
commit | 5083d70f6f0041fe7ee8b662ecc58db2c15580e3 (patch) | |
tree | fba632b402a53c672ac19a74356a1d1fb9f42a6b /railties/test | |
parent | ec08bfc035e792d973152902563fb5dad82c437c (diff) | |
parent | 4686ace999467935e659260d1a23c6617bc51986 (diff) | |
download | rails-5083d70f6f0041fe7ee8b662ecc58db2c15580e3.tar.gz rails-5083d70f6f0041fe7ee8b662ecc58db2c15580e3.tar.bz2 rails-5083d70f6f0041fe7ee8b662ecc58db2c15580e3.zip |
Merge pull request #1328 from flippingbits/cleanup_engine_generator
Cleanup engine generator
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index b93e33f61a..528c73ffaf 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -148,7 +148,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase assert_file "app/views" assert_file "app/helpers" assert_file "config/routes.rb", /Rails.application.routes.draw do/ - assert_file "lib/bukkits/engine.rb", /module Bukkits\n class Engine < Rails::Engine\n end\nend/ + assert_file "lib/bukkits/engine.rb", /module Bukkits\n class Engine < ::Rails::Engine\n end\nend/ assert_file "lib/bukkits.rb", /require "bukkits\/engine"/ end |