summaryrefslogtreecommitdiffstats
path: root/test/day_entry_test.rb
diff options
context:
space:
mode:
authorZack Hobson2013-12-22 22:00:45 -0800
committerZack Hobson2013-12-22 22:00:45 -0800
commit50cbd47da7a54a46809a818a43e821431de258ce (patch)
tree9667675dda14c7281fc5d60535c9ec89ddb07807 /test/day_entry_test.rb
parentfeac869bf567af57402eb206f1bf5dd62fa0e93f (diff)
downloadhcl-50cbd47da7a54a46809a818a43e821431de258ce.tar.bz2
extract net code into hcl::net
Diffstat (limited to 'test/day_entry_test.rb')
-rw-r--r--test/day_entry_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/day_entry_test.rb b/test/day_entry_test.rb
index ec2abe2..3e8be24 100644
--- a/test/day_entry_test.rb
+++ b/test/day_entry_test.rb
@@ -21,14 +21,14 @@ class DayEntryTest < HCl::TestCase
def test_append_note
entry = HCl::DayEntry.new(:id => '1', :notes => 'yourmom.', :hours => '1.0')
- HCl::DayEntry.stubs(:post)
+ HCl::Net.stubs(:post)
entry.append_note('hi world')
assert_equal "yourmom.\nhi world", entry.notes
end
def test_append_note_to_empty
entry = HCl::DayEntry.new(:id => '1', :notes => nil, :hours => '1.0')
- HCl::DayEntry.stubs(:post)
+ HCl::Net.stubs(:post)
entry.append_note('hi world')
assert_equal 'hi world', entry.notes
end