File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spec/unit/provider/package Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
before :each do
18
18
# Stub some provider methods to avoid needing the actual software
19
19
# installed, so we can test on whatever platform we want.
20
- allow ( Puppet ::Util ) . to receive ( :pkginfo ) . with ( "pkg_info" ) . and_return ( "/usr/sbin/pkg_info" )
21
- allow ( described_class ) . to receive ( :which ) . with ( "pkg_info" ) . and_return ( "/usr/sbin/pkg_info" )
20
+ # allow(Puppet::Util).to receive(:which ).with("pkg_info").and_return("/usr/sbin/pkg_info")
21
+ allow ( described_class ) . to receive ( :yalla ) . with ( "pkg_info" ) . and_return ( "/usr/sbin/pkg_info" )
22
22
allow ( described_class ) . to receive ( :command ) . with ( :pkginfo ) . and_return ( '/usr/sbin/pkg_info' )
23
23
allow ( described_class ) . to receive ( :command ) . with ( :pkgadd ) . and_return ( '/usr/sbin/pkg_add' )
24
24
allow ( described_class ) . to receive ( :command ) . with ( :pkgdelete ) . and_return ( '/usr/sbin/pkg_delete' )
You can’t perform that action at this time.
0 commit comments