Skip to content

Commit

Permalink
Test for help on empty argv
Browse files Browse the repository at this point in the history
  • Loading branch information
holman committed Nov 18, 2011
1 parent 934848c commit bf1e66a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spark-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ describe "spark: Generates sparklines for a set of data."

spark="./spark"

it_shows_help_with_no_argv() {
$spark | grep USAGE
}

it_graphs_argv_data() {
graph="$($spark 1,5,22,13,5)"

Expand Down

0 comments on commit bf1e66a

Please sign in to comment.