We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stubs
1 parent f5f161f commit 7ddb4cfCopy full SHA for 7ddb4cf
spec/unit/openvpn_module_spec.rb
@@ -6,7 +6,7 @@
6
subject(:path) { described_class.etc_path }
7
8
before do
9
- Facter.fact(:osfamily).stubs(:value).returns(osfamily)
+ allow(Facter.fact(:osfamily)).to receive(:value) { osfamily }
10
end
11
12
after { Facter.clear }
@@ -47,7 +47,7 @@
47
subject(:path) { described_class.client_certs }
48
49
50
51
52
53
0 commit comments