Permalink
Browse files

Merge pull request #12798 from arunagw/plugin-generators-test

Fixed plugin_generator test
  • Loading branch information...
2 parents 216ec8d + fefa8ae commit 30526ac1197a190956273d862c02839de27c09d2 @guilleiguaran guilleiguaran committed Nov 7, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -185,6 +185,7 @@ def initialize(*args)
end
public_task :set_default_accessors!
+ public_task :apply_rails_template
public_task :create_root
def create_root_files
@@ -241,7 +242,6 @@ def finish_template
build(:leftovers)
end
- public_task :apply_rails_template, :run_bundle
def name
@name ||= begin
@@ -255,6 +255,9 @@ def name
end
end
+ public_task :run_bundle
+ public_task :replay_template
+
protected
def app_templates_dir

0 comments on commit 30526ac

Please sign in to comment.