diff options
Diffstat (limited to 'spec/unit/resource')
-rw-r--r-- | spec/unit/resource/apt_repository_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/resource/apt_repository_spec.rb b/spec/unit/resource/apt_repository_spec.rb index 88d9ca2508..cd55ce66cc 100644 --- a/spec/unit/resource/apt_repository_spec.rb +++ b/spec/unit/resource/apt_repository_spec.rb @@ -31,4 +31,8 @@ describe Chef::Resource::AptRepository do expect(resource.keyserver).to eql("keyserver.ubuntu.com") end + it "the default distribution should be nillable" do + expect(resource.distribution(nil)).to eql(nil) + expect(resource.distribution).to eql(nil) + end end |