Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #657 from puppetlabs/binford2k-patch-1
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
key_spec.rb
diff --git
a/spec/defines/key_spec.rb
b/spec/defines/key_spec.rb
index 13616d97acc14f73c8d6dd84c5fb6b2402fb39a6..334924d2b7ce1fdcbf468dc2d1d30f18ae386881 100644
(file)
--- a/
spec/defines/key_spec.rb
+++ b/
spec/defines/key_spec.rb
@@
-251,7
+251,7
@@
describe 'apt::key' do
:content => [],
} end
it 'fails' do
:content => [],
} end
it 'fails' do
- expect { subject.call }.to raise_error(/expects a
value of type Undef or String
/)
+ expect { subject.call }.to raise_error(/expects a/)
end
end
end
end
@@
-269,7
+269,7
@@
describe 'apt::key' do
:options => {},
} end
it 'fails' do
:options => {},
} end
it 'fails' do
- expect { subject.call }.to raise_error(/expects a
value of type Undef or String
/)
+ expect { subject.call }.to raise_error(/expects a/)
end
end
end
end