Add initial CLI class

This commit is contained in:
Dzmitry Plashchynski
2015-03-02 21:08:07 +02:00
parent 283dd446a3
commit 5e3ca985e3
4 changed files with 45 additions and 7 deletions

13
spec/cli_spec.rb Normal file
View 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