Skip to content

Instantly share code, notes, and snippets.

@geelen
Created March 16, 2009 01:21
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 geelen/79625 to your computer and use it in GitHub Desktop.
Save geelen/79625 to your computer and use it in GitHub Desktop.
str = `some_command 2> /dev/stdout`
str.should =~ /rake aborted!/
str.should =~ /No files to process!/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment