Add custom Logger

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 19:13:40 +02:00
parent 2ce9db45db
commit 4c59804472
5 changed files with 31 additions and 2 deletions

11
spec/logger_spec.rb Normal file
View File

@@ -0,0 +1,11 @@
require "spec_helper"
describe Crono::Logger do
describe "#initialize" do
it "should initialize logger" do
expect {
Crono.logger.info("Test")
}.to_not raise_error
end
end
end