Created
June 14, 2018 12:35
-
-
Save mleszcz/b5971f225d4981119f97a7ccf7e0d130 to your computer and use it in GitHub Desktop.
Revisions
-
mleszcz created this gist
Jun 14, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # # Test the app before deployment # desc "Check if the application is releasable => run tests" before :deploy, :test_app do unless system("bundle install") && system("bundle exec rake db:drop db:create db:migrate db:seed") && system("bundle exec rake") puts "===> FIX SPECS AND RETRY <===" exit end end