diff options
author | Stig Sandbeck Mathisen <ssm@debian.org> | 2014-09-07 10:14:36 +0200 |
---|---|---|
committer | Stig Sandbeck Mathisen <ssm@debian.org> | 2014-09-07 10:14:36 +0200 |
commit | d4b83be375ac1dead058e091191ee7c7b7c24c8a (patch) | |
tree | dc825687392ae3068de5b764be60c53122d9e02a /spec/unit/settings/priority_setting_spec.rb | |
parent | 229cbb976fe0f70f5f30548b83517b415840f9bb (diff) | |
parent | 1681684857c6e39d60d87b0b3520d8783977ceff (diff) | |
download | puppet-upstream/3.7.0.tar.gz |
Imported Upstream version 3.7.0upstream/3.7.0
Diffstat (limited to 'spec/unit/settings/priority_setting_spec.rb')
-rwxr-xr-x | spec/unit/settings/priority_setting_spec.rb | 8 |
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 |