summaryrefslogtreecommitdiffstats
path: root/test/command_test.rb
diff options
context:
space:
mode:
authorZack Hobson2013-12-26 21:39:52 -0800
committerZack Hobson2013-12-26 21:39:52 -0800
commit26ea694048faaad292152b246f24d25eab0cf2ac (patch)
treef58e96f6268a6709afdd1198e4c98bf5b10c8398 /test/command_test.rb
parent087da79f8c4135acc19a71822295c328c0d57a5a (diff)
downloadhcl-26ea694048faaad292152b246f24d25eab0cf2ac.tar.bz2
timesheet_resource: resource scopes
Diffstat (limited to 'test/command_test.rb')
-rw-r--r--test/command_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/command_test.rb b/test/command_test.rb
index dd6f440..cd21736 100644
--- a/test/command_test.rb
+++ b/test/command_test.rb
@@ -4,6 +4,7 @@ class CommandTest < HCl::TestCase
include HCl::Utility
def setup
+ super
@settings = {}
end
@@ -34,7 +35,7 @@ class CommandTest < HCl::TestCase
end
def test_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'