Add Schedule

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 15:11:19 +02:00
parent 2c78115ce7
commit 518160d5d9
9 changed files with 38 additions and 7 deletions

View File

@@ -2,9 +2,9 @@ require "spec_helper"
describe Crono::Config do
describe "#initialize" do
it "should initialize schedule with an empty array" do
it "should initialize schedule" do
@config = Crono::Config.instance
expect(@config.schedule).to eql([])
expect(@config.schedule).to be_a(Crono::Schedule)
end
end
end