mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-21 00:50:03 +01:00
Add Schedule
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user