cleaned up formatting and wording of tests

This commit is contained in:
Javan Makhmali 2009-07-13 15:17:26 -04:00
parent 92e727c09e
commit 0dff0eb087

View File

@ -12,7 +12,7 @@ class OutputAtTest < Test::Unit::TestCase
file file
end end
should "output the runner using that path" do should "output the command using that time" do
assert_match '2 5 * * 1-5 blahblah', @output assert_match '2 5 * * 1-5 blahblah', @output
end end
end end
@ -27,7 +27,7 @@ class OutputAtTest < Test::Unit::TestCase
file file
end end
should "output the runner using that path" do should "output the commands for both times given" do
assert_match '2 5 * * 1-5 blahblah', @output assert_match '2 5 * * 1-5 blahblah', @output
assert_match '52 15 * * 1-5 blahblah', @output assert_match '52 15 * * 1-5 blahblah', @output
end end
@ -43,7 +43,7 @@ class OutputAtTest < Test::Unit::TestCase
file file
end end
should "output the runner using that path" do should "output the commands for both times given" do
assert_match '2 5 * * 1-5 blahblah', @output assert_match '2 5 * * 1-5 blahblah', @output
assert_match '52 15 * * 1-5 blahblah', @output assert_match '52 15 * * 1-5 blahblah', @output
end end
@ -59,7 +59,7 @@ class OutputAtTest < Test::Unit::TestCase
file file
end end
should "output the runner using that path" do should "output the command using one entry because the times are aligned" do
assert_match '2 5,15 * * 1-5 blahblah', @output assert_match '2 5,15 * * 1-5 blahblah', @output
end end
end end
@ -74,7 +74,7 @@ class OutputAtTest < Test::Unit::TestCase
file file
end end
should "output the runner using that path" do should "output the command using one entry because the times are aligned" do
assert_match '2 5,15 * * 1,3,5 blahblah', @output assert_match '2 5,15 * * 1,3,5 blahblah', @output
end end
end end