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:
parent
f07363b6af
commit
d7698139fe
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user