Permalink
Browse files

Builder should not be responsible for running store_application_defin…

…ition method
  • Loading branch information...
drogus committed Oct 21, 2010
1 parent ae1debd commit 48fef64cb5d38b2ac81a483bb0fad89c2134dcdc
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -41,7 +41,6 @@ def generate_test_dummy
end
def test_dummy_config
- store_application_definition!
template "rails/boot.rb", "#{dummy_path}/config/boot.rb", :force => true
template "rails/application.rb", "#{dummy_path}/config/application.rb", :force => true
end
@@ -168,6 +167,7 @@ def create_test_dummy_files
say_step "Configuring Rails application"
def change_config_files
+ store_application_definition!
build(:test_dummy_config)
end

0 comments on commit 48fef64

Please sign in to comment.