summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2016-05-06 20:34:55 +0200
committerChris Schlaeger <chris@linux.com>2016-05-06 20:34:55 +0200
commit1ede5a4667a11021366e4dfdd9f4243d8989800d (patch)
treeea056f1422441ba8572c6e78947ea19478bf4904 /spec
parentdd12763bbdc141fd537ac6aabe0e2d9c2bbac06d (diff)
downloadpostrunner-1ede5a4667a11021366e4dfdd9f4243d8989800d.zip
New: Add sleep cycle count column to monthly report.
Diffstat (limited to 'spec')
-rw-r--r--spec/PostRunner_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/PostRunner_spec.rb b/spec/PostRunner_spec.rb
index 94fff2c..bd75974 100644
--- a/spec/PostRunner_spec.rb
+++ b/spec/PostRunner_spec.rb
@@ -209,5 +209,13 @@ describe PostRunner::Main do
expect(list.index(File.basename(@file3))).to be_nil
end
+ it 'should support the daily command' do
+ postrunner([ 'daily' ])
+ end
+
+ it 'should supoprt the monthly command' do
+ postrunner([ 'monthly' ])
+ end
+
end