Skip to content

Commit c108ba6

Browse files
author
Daniel Carabas
committed
Fix facter mysql version unit test
1 parent 9079d74 commit c108ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/unit/facter/mysql_version_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
describe 'mysql_version' do
99
context 'with value' do
1010
before :each do
11+
Facter::Core::Execution.stubs(:which).returns('fake_mysql_path')
1112
Facter::Util::Resolution.stubs(:exec).with('mysql --version').returns('mysql Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (x86_64) using readline 5.1')
1213
end
1314
it {

0 commit comments

Comments
 (0)