Skip to content

Commit

Permalink
Fixed plugin_generator test
Browse files Browse the repository at this point in the history
Template replay needs to happen after bundle.

As we are doing TemplateRecording in apply_rails_template.

here are few commits for changes

8beb42c
9104702
  • Loading branch information
arunagw committed Nov 7, 2013
1 parent 705b720 commit fefa8ae
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -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
Expand Down Expand Up @@ -241,7 +242,6 @@ def finish_template
build(:leftovers)
end

public_task :apply_rails_template, :run_bundle

def name
@name ||= begin
Expand All @@ -255,6 +255,9 @@ def name
end
end

public_task :run_bundle
public_task :replay_template

protected

def app_templates_dir
Expand Down

0 comments on commit fefa8ae

Please sign in to comment.