diff options
| author | Zack Hobson | 2013-11-22 12:26:34 -0800 |
|---|---|---|
| committer | Zack Hobson | 2013-11-22 12:26:34 -0800 |
| commit | a77834e04d5355f300c61e1e895d2bda83253c9c (patch) | |
| tree | 1442a1b59074903bcfba36135daa768bc980a219 /test | |
| parent | 161397ba51a57381107442804fe954776c0336ec (diff) | |
| download | hcl-a77834e04d5355f300c61e1e895d2bda83253c9c.tar.bz2 | |
task: test cache file location
Diffstat (limited to 'test')
| -rw-r--r-- | test/task_test.rb | 4 |
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> |
