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

@@ -9,8 +9,9 @@ describe Crono::CLI do
let(:cli) { Crono::CLI.instance }
describe "#run" do
it "should try to initialize rails with #load_rails" do
it "should try to initialize rails with #load_rails and start working loop" do
expect(cli).to receive(:load_rails)
expect(cli).to receive(:start_working_loop)
cli.run
end
end
@@ -21,4 +22,8 @@ describe Crono::CLI do
expect(thread).to be_stop
end
end
describe "#start_working_loop" do
it "should start working loop"
end
end