Sha256: 515d8f8fbce885a488850068ac634750a53c04b143e02c1b28df0ab53c17bd03
Contents?: true
Size: 730 Bytes
Versions: 1
Compression:
Stored size: 730 Bytes
Contents
require 'spec_helper' require 'ey-core/cli/recipes/apply' describe Ey::Core::Cli::Recipes::Apply do set_up_cli before(:each) do allow_any_instance_of(described_class). to receive(:run_chef). with(any_args). and_return(true) end context 'ey-core recipes apply' do it 'performs a main chef run' do expect(cli).to receive(:run_chef).with('main', environment) execute expect(kernel.exit_status).to eql(0) end end context 'ey-core recipes apply --quick' do arguments '--quick' it 'performs a quick chef run' do expect(cli).to receive(:run_chef).with('quick', environment) execute expect(kernel.exit_status).to eql(0) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ey-core-3.1.9 | spec/ey-core/cli/recipes/apply_spec.rb |