Sha256: fcf6b3b25cb864745d81cfccf0160303b7f97173ec1acfdd97f73f9cad18f461
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
require "spec_helper" describe Praegustator::CLI do describe "#taste" do it "execute_check from executor" do Praegustator::Executor.any_instance.should_receive(:execute_check) Praegustator::CLI.new.taste("foo","bar") end end describe "#validate" do it "execute from executor" do Praegustator::Executor.any_instance.should_receive(:execute) Praegustator::CLI.new.validate("foo","bar") end end describe "#init" do it "sets knife_location" do Praegustator::Setup.any_instance.should_receive(:init).with("foo") Praegustator::CLI.new.init("foo") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
praegustator-0.3.0 | spec/praegustator/cli_spec.rb |