summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-01-31 20:37:52 +0100
committerTeddy Wing2018-01-31 20:37:52 +0100
commit51bb50a586b117db18e1c2dbbfc9152191b5a7c5 (patch)
tree968b4de5feb1952e5f8a6686ca82096ac8d8e100
parentbf1c536b08aa89f59b8b1303f1ce4cd7b32907cc (diff)
downloadhcl-log-for-past-days.tar.bz2
Remove `test_log_failure`log-for-past-days
Delete this test because I've rewritten the `Commands#log` method to no longer use timers.
-rw-r--r--test/command_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/command_test.rb b/test/command_test.rb
index 8536286..94ff673 100644
--- a/test/command_test.rb
+++ b/test/command_test.rb
@@ -31,11 +31,6 @@ class CommandTest < HCl::TestCase
assert_equal "taco.time: now\n", standard_output
end
- def test_log_failure
- HCl::DayEntry.expects(:with_timer).returns(stub)
- assert_raises(HCl::CommandError) { log "stuff" }
- end
-
def test_tasks
FileUtils.rm_rf ENV['HCL_DIR']+"/cache"
register_uri(:get, '/daily', {:day_entries=>[], :projects=> [{