Skip to content

Commit 2e9cb81

Browse files
committed
fixing spec
Signed-off-by: nikhil2611 <[email protected]>
1 parent a6251a5 commit 2e9cb81

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spec/unit/command/env_spec.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@
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

@@ -122,12 +116,6 @@
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

0 commit comments

Comments
 (0)