diff --git a/spec/unit/puppet/parser/functions/hiera_enabled_spec.rb b/spec/unit/puppet/parser/functions/hiera_enabled_spec.rb index 16119d635..a6f23a934 100644 --- a/spec/unit/puppet/parser/functions/hiera_enabled_spec.rb +++ b/spec/unit/puppet/parser/functions/hiera_enabled_spec.rb @@ -24,7 +24,7 @@ Puppet::Parser::Functions.stubs(:function).with(:hiera).returns false @scope.function_hiera_enabled([]).should be_false end - it "should succeed is hiera is installed and the function, hiera(), is available" do + it "should succeed if hiera is installed and the function, hiera(), is available" do Puppet.features.stubs(:hiera?).returns true Puppet::Parser::Functions.stubs(:function).with(:hiera).returns true @scope.function_hiera_enabled([]).should be_true