Skip to content

Instantly share code, notes, and snippets.

@indrekj
Created May 12, 2012 22:10
Show Gist options
  • Save indrekj/2669384 to your computer and use it in GitHub Desktop.
Save indrekj/2669384 to your computer and use it in GitHub Desktop.
Runs all tests in the spec directory that do not load the spec_helper.rb
#!/bin/bash
grep -Rc spec_helper spec | grep :0$ | grep _spec.rb | cut -d : -f 1 | xargs rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment