File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 8888 allow ( command_instance ) . to receive ( :habitat_chef_dke? ) . and_return true
8989 allow ( command_instance ) . to receive ( :omnibus_install? ) . and_return false
9090 allow ( command_instance ) . to receive ( :get_product_info ) . and_return ( ChefCLI ::Dist ::CHEF_DK_CLI_PACKAGE )
91- allow ( command_instance ) . to receive ( :workstation_info ) . and_return ( {
92- "Version" => ChefCLI ::VERSION ,
93- "Home" => "/hab/pkgs/chef/chef-dke" ,
94- "Install Directory" => "/hab/pkgs/chef/chef-dke/#{ ChefCLI ::VERSION } " ,
95- "Policyfile Config" => "/hab/pkgs/chef/chef-dke/#{ ChefCLI ::VERSION } /config/policyfile.rb"
96- } )
9791 command_instance . ui = ui
9892 end
9993
122116 allow ( command_instance ) . to receive ( :habitat_standalone? ) . and_return true
123117 allow ( command_instance ) . to receive ( :omnibus_install? ) . and_return false
124118 allow ( command_instance ) . to receive ( :get_product_info ) . and_return ( ChefCLI ::Dist ::CHEF_CLI_PACKAGE )
125- allow ( command_instance ) . to receive ( :workstation_info ) . and_return ( {
126- "Version" => ChefCLI ::VERSION ,
127- "Home" => "/hab/pkgs/chef/chef-cli" ,
128- "Install Directory" => "/hab/pkgs/chef/chef-cli/#{ ChefCLI ::VERSION } " ,
129- "Policyfile Config" => "/hab/pkgs/chef/chef-cli/#{ ChefCLI ::VERSION } /config/policyfile.rb"
130- } )
131119 command_instance . ui = ui
132120 end
133121
You can’t perform that action at this time.
0 commit comments