diff options
| author | Zack Hobson | 2013-11-18 12:20:08 -0800 | 
|---|---|---|
| committer | Zack Hobson | 2013-11-18 12:20:08 -0800 | 
| commit | 392034ccb82add25c97c8175abbc6422aa871b27 (patch) | |
| tree | 0a95069bd1de35d0b51dd4de0ef775cb53421f71 /test/day_entry_test.rb | |
| parent | 27bc3cef233dd4f50c9957bae0ac90392ea99023 (diff) | |
| download | hcl-392034ccb82add25c97c8175abbc6422aa871b27.tar.bz2 | |
version 0.4.0
* added alias and unalias commands
* note and start commands are now optional/contextual
* note adds a new line
Diffstat (limited to 'test/day_entry_test.rb')
| -rw-r--r-- | test/day_entry_test.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/day_entry_test.rb b/test/day_entry_test.rb index c27ffda..a0b49a4 100644 --- a/test/day_entry_test.rb +++ b/test/day_entry_test.rb @@ -37,13 +37,13 @@ class DayEntryTest < Test::Unit::TestCase      entry = HCl::DayEntry.new(:id => '1', :notes => 'yourmom.', :hours => '1.0')      HCl::DayEntry.stubs(:post)      entry.append_note('hi world') -    assert_equal 'yourmom. hi world', entry.notes +    assert_equal "yourmom.\nhi world", entry.notes    end    should "append to an undefined note" do      entry = HCl::DayEntry.new(:id => '1', :notes => nil, :hours => '1.0')      HCl::DayEntry.stubs(:post)      entry.append_note('hi world') -    assert_equal ' hi world', entry.notes +    assert_equal 'hi world', entry.notes    end  end | 
