Skip to content

Instantly share code, notes, and snippets.

@bit-dragon
Last active October 10, 2015 21:08
Show Gist options
  • Save bit-dragon/3751450 to your computer and use it in GitHub Desktop.
Save bit-dragon/3751450 to your computer and use it in GitHub Desktop.
Run test with an correct order
#! /bin/bash
clear
echo "Running the rspec sorted correctly"
find spec -type f -name '*_spec.rb' | sort | xargs rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment