Add Crono.config

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 18:39:26 +02:00
parent 5059f3f5e8
commit b301b95ae5
4 changed files with 7 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ require "spec_helper"
describe Crono::Config do
describe "#initialize" do
it "should initialize schedule" do
@config = Crono::Config.instance
@config = Crono.config
expect(@config.schedule).to be_a(Crono::Schedule)
end
end