Created
August 27, 2015 15:19
-
-
Save rpazyaquian/03f0b860249485a23ba4 to your computer and use it in GitHub Desktop.
This file contains 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
api_test_from_scratch () { | |
RAILS_ENV=test ruby test/create_test_databases.rb | |
RAILS_ENV=test bundle exec rake db:test:prepare | |
RAILS_ENV=test bundle exec rake db:schema:load | |
RAILS_ENV=test bundle exec rake test $1 | |
} | |
api_test_from_scratch TEST=./test/controllers/heartbeat_controller_test.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment