diff options
Diffstat (limited to 'test/command_test.rb')
| -rw-r--r-- | test/command_test.rb | 3 |
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' |
