Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env bash
# Run this with `git bisect start BAD_SHA GOOD_SHA ; git bisect run ~/git-bisect.sh`
# Run migrations, bundle, etc to make sure the app updates through time, and ensure there is a clean git tree
bundle install
git checkout Gemfile.lock
# Run the test, the exec is important so it returns the proper status code
exec rspec spec/models/tasks/inventory_clone_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment