Created
December 24, 2016 18:09
-
-
Save bleonard/a14a6d32d94ca1606e49bd04cac9ffbd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace :offshore do | |
| task :preload do | |
| ENV['RAILS_ENV'] = "test" | |
| end | |
| task :setup => :environment | |
| desc "seeds the db for offshore gem" | |
| task :seed do | |
| Rake::Task['db:migrate'].invoke | |
| Rake::Task['db:test:prepare'].invoke | |
| Rake::Task['db:seed'].invoke | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment