Created
February 25, 2016 15:26
-
-
Save chrisortman/a9c9c1d193cd401dc9a2 to your computer and use it in GitHub Desktop.
Simple script for running an rspec test during git-bisect
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
set +e | |
RAILS_ENV=test bundle exec rake db:schema:load | |
bundle exec rspec spec/models/arm/create_line_items_visit_spec.rb:57 | |
test_result=$? | |
echo Test complete | |
git checkout HEAD Gemfile.lock | |
exit $test_result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment