diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/yum_repository_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/resource/yum_repository_spec.rb b/spec/unit/resource/yum_repository_spec.rb index c3732c2eab..3ff9b85f88 100644 --- a/spec/unit/resource/yum_repository_spec.rb +++ b/spec/unit/resource/yum_repository_spec.rb @@ -41,6 +41,7 @@ describe Chef::Resource::YumRepository do expect { resource.priority "99" }.not_to raise_error(ArgumentError) expect { resource.priority "1" }.not_to raise_error(ArgumentError) expect { resource.priority "100" }.to raise_error(ArgumentError) + expect { resource.priority "0" }.to raise_error(ArgumentError) end it "the failovermethod property accepts 'priority' or 'roundrobin'" do |