From c2272dd3ec1475c275baa424e3432ff0dd2bcf35 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Wed, 1 Jul 2009 00:36:06 -0400 Subject: [PATCH] updated test to check for days using numbers (1-7) instead of strings (mon,wed,tue) --- test/output_at_test.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/output_at_test.rb b/test/output_at_test.rb index 44447be..b0479c3 100644 --- a/test/output_at_test.rb +++ b/test/output_at_test.rb @@ -13,7 +13,7 @@ class OutputAtTest < Test::Unit::TestCase end should "output the runner using that path" do - assert_match '2 5 * * mon-fri blahblah', @output + assert_match '2 5 * * 1-5 blahblah', @output end end @@ -28,8 +28,8 @@ class OutputAtTest < Test::Unit::TestCase end should "output the runner using that path" do - assert_match '2 5 * * mon-fri blahblah', @output - assert_match '52 15 * * mon-fri blahblah', @output + assert_match '2 5 * * 1-5 blahblah', @output + assert_match '52 15 * * 1-5 blahblah', @output end end @@ -44,8 +44,8 @@ class OutputAtTest < Test::Unit::TestCase end should "output the runner using that path" do - assert_match '2 5 * * mon-fri blahblah', @output - assert_match '52 15 * * mon-fri blahblah', @output + assert_match '2 5 * * 1-5 blahblah', @output + assert_match '52 15 * * 1-5 blahblah', @output end end @@ -60,7 +60,7 @@ class OutputAtTest < Test::Unit::TestCase end should "output the runner using that path" do - assert_match '2 5,15 * * mon-fri blahblah', @output + assert_match '2 5,15 * * 1-5 blahblah', @output end end @@ -75,7 +75,7 @@ class OutputAtTest < Test::Unit::TestCase end should "output the runner using that path" do - assert_match '2 5,15 * * mon,wed,fri blahblah', @output + assert_match '2 5,15 * * 1,3,5 blahblah', @output end end