mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-26 18:58:46 +02:00
add config class and schedule
This commit is contained in:
10
spec/config_spec.rb
Normal file
10
spec/config_spec.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe Periodicity::Config do
|
||||
describe "#initialize" do
|
||||
it "should initialize schedule with an empty array" do
|
||||
@config = Periodicity::Config.instance
|
||||
expect(@config.schedule).to eql([])
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user