Skip to content

Commit c0b3241

Browse files
authored
Merge pull request #1266 from carabasdaniel/master
Fix facter mysql version unit test
2 parents efbb8f5 + 0842fb2 commit c0b3241

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)