diff options
| author | Zack Hobson | 2013-11-21 12:59:36 -0800 |
|---|---|---|
| committer | Zack Hobson | 2013-11-21 12:59:36 -0800 |
| commit | 6c903fd0c4ef000c01ff7a3ece0cf9da27b3530c (patch) | |
| tree | 79fdd29f3e43fa648f75b21af599fcf5941fb5ee /lib | |
| parent | ba28437f7a56e0f817fe1b51e46e756b7f6cc1f9 (diff) | |
| download | hcl-6c903fd0c4ef000c01ff7a3ece0cf9da27b3530c.tar.bz2 | |
coverage tests for app, command, task.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/commands.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index c245710..d1861de 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -35,7 +35,7 @@ module HCl entry = DayEntry.with_timer || DayEntry.last if entry if entry.cancel - puts "Deleted entry #{entry}." + "Deleted entry #{entry}." else puts "Failed to delete #{entry}!" exit 1 @@ -100,7 +100,7 @@ module HCl if entry entry.append_note(args.join(' ')) if args.any? entry.toggle - puts "Stopped #{entry} (at #{current_time})" + "Stopped #{entry} (at #{current_time})" else puts "No running timers found." exit 1 @@ -112,7 +112,7 @@ module HCl entry = DayEntry.with_timer if entry entry.append_note message - puts "Added note to #{entry}." + "Added note to #{entry}." else puts "No running timers found." exit 1 |
