summaryrefslogtreecommitdiffstats
path: root/test/task_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/task_test.rb')
-rw-r--r--test/task_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/task_test.rb b/test/task_test.rb
index e69fcf9..26648a3 100644
--- a/test/task_test.rb
+++ b/test/task_test.rb
@@ -1,5 +1,9 @@
class Task < Test::Unit::TestCase
+ def test_cache_file
+ assert_equal "#{HCl::App::HCL_DIR}/cache/tasks.yml", HCl::Task.cache_file
+ end
+
def test_cache_tasks
HCl::Task.cache_tasks(REXML::Document.new(<<-EOD))
<daily>