Skip to content

Commit

Permalink
Remove expect
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed Apr 7, 2022
1 parent a9c3ab1 commit 4083d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/puppet_x/chocolatey/chocolatey_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
let(:expected_value) { '1.2.3' }

before :each do
expect(Facter).to receive(:value).with('choco_install_path').and_return('c:\dude')
# expect(Facter).to receive(:value).with('choco_install_path').and_return('c:\dude')
allow(File).to receive(:exist?).with('c:\dude\choco.exe').and_return(true)
end

Expand Down

0 comments on commit 4083d49

Please sign in to comment.