From dec21eb5f6353001b610fd44b08352b54b7e3f42 Mon Sep 17 00:00:00 2001 From: Mohit Natoo Date: Tue, 1 Mar 2016 02:39:43 +0530 Subject: [PATCH] - Updating the dummy app template to have rails_command instead of rake --- activejob/test/support/integration/dummy_app_template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activejob/test/support/integration/dummy_app_template.rb b/activejob/test/support/integration/dummy_app_template.rb index 262ca72327..a0ef38b0b2 100644 --- a/activejob/test/support/integration/dummy_app_template.rb +++ b/activejob/test/support/integration/dummy_app_template.rb @@ -2,7 +2,7 @@ if ENV['AJ_ADAPTER'] == 'delayed_job' generate "delayed_job:active_record", "--quiet" end -rake("db:migrate") +rails_command("db:migrate") initializer 'activejob.rb', <<-CODE require "#{File.expand_path("../jobs_manager.rb", __FILE__)}"