summaryrefslogtreecommitdiff
path: root/spec/unit/settings/priority_setting_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/settings/priority_setting_spec.rb')
-rwxr-xr-xspec/unit/settings/priority_setting_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/settings/priority_setting_spec.rb b/spec/unit/settings/priority_setting_spec.rb
index d51e39dc4..62cad5def 100755
--- a/spec/unit/settings/priority_setting_spec.rb
+++ b/spec/unit/settings/priority_setting_spec.rb
@@ -53,10 +53,10 @@ describe Puppet::Settings::PrioritySetting do
describe "on a Windows-like platform it", :if => Puppet::Util::Platform.windows? do
it "parses high, normal, low, and idle priorities" do
{
- 'high' => Process::HIGH_PRIORITY_CLASS,
- 'normal' => Process::NORMAL_PRIORITY_CLASS,
- 'low' => Process::BELOW_NORMAL_PRIORITY_CLASS,
- 'idle' => Process::IDLE_PRIORITY_CLASS
+ 'high' => Puppet::Util::Windows::Process::HIGH_PRIORITY_CLASS,
+ 'normal' => Puppet::Util::Windows::Process::NORMAL_PRIORITY_CLASS,
+ 'low' => Puppet::Util::Windows::Process::BELOW_NORMAL_PRIORITY_CLASS,
+ 'idle' => Puppet::Util::Windows::Process::IDLE_PRIORITY_CLASS
}.each do |value, converted_value|
setting.munge(value).should == converted_value
end