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
Puppet 4 language update
[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 1ebcfc7af0c655b2637e84f449b86190c062a39e..a7334d8115e2973b936940c2c908a9cd275ceb1e 100644
(file)
--- a/
spec/defines/key_spec.rb
+++ b/
spec/defines/key_spec.rb
@@
-245,7
+245,7
@@
describe 'apt::key' do
:content => [],
} end
it 'fails' do
:content => [],
} end
it 'fails' do
- expect { subject.call }.to raise_error(/
is not a string
/)
+ expect { subject.call }.to raise_error(/
expects a String value
/)
end
end
end
end
@@
-263,7
+263,7
@@
describe 'apt::key' do
:options => {},
} end
it 'fails' do
:options => {},
} end
it 'fails' do
- expect { subject.call }.to raise_error(/
is not a string
/)
+ expect { subject.call }.to raise_error(/
expects a String value
/)
end
end
end
end
@@
-275,7
+275,7
@@
describe 'apt::key' do
}
end
it 'fails' do
}
end
it 'fails' do
- expect { subject.call }.to raise_error(/
does not match
/)
+ expect { subject.call }.to raise_error(/
for Enum\['absent', 'present'\], got
/)
end
end
end
end
end
end