Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mscottford
Created December 3, 2013 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mscottford/7761833 to your computer and use it in GitHub Desktop.
Save mscottford/7761833 to your computer and use it in GitHub Desktop.
Command to run specs that have changed (according to git; may need to run git add spec first) Source: http://crashruby.com/2013/06/13/running-changed-tests/
rspec `git diff --name-only flux -- spec | egrep '_spec.rb'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment