summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
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