diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-24 06:39:13 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-24 06:39:13 +0200 |
commit | 44ec487542dba046dfcedc1c0d2e1c962c936e2e (patch) | |
tree | cf37b21f46921c9149b2c1a5a4b462cb5aa1feee /tasks | |
parent | bd2bcc0f2a3c8ff15bce5487a779dba7306bde07 (diff) | |
download | refinerycms-blog-44ec487542dba046dfcedc1c0d2e1c962c936e2e.tar.gz refinerycms-blog-44ec487542dba046dfcedc1c0d2e1c962c936e2e.tar.bz2 refinerycms-blog-44ec487542dba046dfcedc1c0d2e1c962c936e2e.zip |
Use refinery:testing:setup_extension rake task to copy Refinery::Setting migration file.
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/testing.rake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/testing.rake b/tasks/testing.rake new file mode 100644 index 0000000..973837f --- /dev/null +++ b/tasks/testing.rake @@ -0,0 +1,9 @@ +namespace :refinery do + namespace :testing do + task :setup_extension do + task = "bundle exec rake -f #{Refinery::Testing::Railtie.target_engine_path.join('Rakefile')} " + task << "app:railties:install:migrations FROM='refinery_settings'" + system task + end + end +end |