From 6c903fd0c4ef000c01ff7a3ece0cf9da27b3530c Mon Sep 17 00:00:00 2001 From: Zack Hobson Date: Thu, 21 Nov 2013 12:59:36 -0800 Subject: coverage tests for app, command, task. --- lib/hcl/commands.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3