mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-18 23:19:57 +02:00
Add initial CLI class
This commit is contained in:
13
spec/cli_spec.rb
Normal file
13
spec/cli_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require "spec_helper"
|
||||
require 'periodicity/cli'
|
||||
|
||||
describe Periodicity::CLI do
|
||||
let(:cli) { Periodicity::CLI.instance }
|
||||
|
||||
describe "#run" do
|
||||
it "should try to initialize rails with #load_rails" do
|
||||
expect(cli).to receive(:load_rails)
|
||||
cli.run
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user