diff options
| author | Zack Hobson | 2013-12-26 21:39:52 -0800 | 
|---|---|---|
| committer | Zack Hobson | 2013-12-26 21:39:52 -0800 | 
| commit | 26ea694048faaad292152b246f24d25eab0cf2ac (patch) | |
| tree | f58e96f6268a6709afdd1198e4c98bf5b10c8398 /test/app_test.rb | |
| parent | 087da79f8c4135acc19a71822295c328c0d57a5a (diff) | |
| download | hcl-26ea694048faaad292152b246f24d25eab0cf2ac.tar.bz2 | |
timesheet_resource: resource scopes
Diffstat (limited to 'test/app_test.rb')
| -rw-r--r-- | test/app_test.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/test/app_test.rb b/test/app_test.rb index 1fc1073..e6dbc3d 100644 --- a/test/app_test.rb +++ b/test/app_test.rb @@ -2,6 +2,7 @@ require 'test_helper'  class AppTest < HCl::TestCase    def setup +    super      # touch config to avoid triggering manual config      FileUtils.mkdir_p HCl::App::HCL_DIR      FileUtils.touch File.join(HCl::App::HCL_DIR, "config.yml") @@ -13,7 +14,7 @@ class AppTest < HCl::TestCase    end    def test_command_show -    HCl::DayEntry.expects(:all).returns [HCl::DayEntry.new( +    HCl::DayEntry.expects(:daily).returns [HCl::DayEntry.new(        hours:'2.06', notes:'hi world', project:'App'      )]      HCl::App.command 'show' | 
