Update spec tests

Add libdistcodename to all apt repo spec tests so
that they will work with the latest version of apt.
This commit is contained in:
Dan Bode 2012-03-13 16:42:57 -07:00
parent f07363b6af
commit d7698139fe
3 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,10 @@
require 'spec_helper' require 'spec_helper'
describe 'swift::repo::milestone' do describe 'swift::repo::milestone' do
let :facts do
{:lsbdistcodename => 'oneiric'}
end
describe 'when apt is not included' do describe 'when apt is not included' do
it 'should raise an error' do it 'should raise an error' do
expect do expect do

View File

@ -1,6 +1,10 @@
require 'spec_helper' require 'spec_helper'
describe 'swift::repo::release' do describe 'swift::repo::release' do
let :facts do
{:lsbdistcodename => 'oneiric'}
end
describe 'when apt is not included' do describe 'when apt is not included' do
it 'should raise an error' do it 'should raise an error' do
expect do expect do

View File

@ -1,6 +1,10 @@
require 'spec_helper' require 'spec_helper'
describe 'swift::repo::trunk' do describe 'swift::repo::trunk' do
let :facts do
{:lsbdistcodename => 'oneiric'}
end
describe 'when apt is not included' do describe 'when apt is not included' do
it 'should raise an error' do it 'should raise an error' do
expect do expect do