+ describe "it should not error if package['python-software-properties'] is already defined" do
+ let :pre_condition do
+ 'class {"apt": }' +
+ 'package { "python-software-properties": }->Apt::Ppa["ppa"]'
+ end
+ let :facts do
+ {:lsbdistcodename => 'natty'}
+ end
+ let(:title) { "ppa" }
+ let(:release) { "natty" }
+ it { should contain_package("python-software-properties") }
+ end
+