Browse files

Test for help on empty argv

  • Loading branch information...
1 parent 934848c commit bf1e66aa5ec90325bf358469d1b13fac6777c045 @holman committed Nov 18, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 spark-test.sh
View
4 spark-test.sh
@@ -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)"

0 comments on commit bf1e66a

Please sign in to comment.