Skip to content

Commit

Permalink
Merge pull request #421 from rtyler/419-add-rspec-puppet
Browse files Browse the repository at this point in the history
Add a simple rspec-puppet test to verify changing jenkins::plugin's timeout
  • Loading branch information
jhoblitt committed Nov 8, 2015
2 parents 6fa5f5c + f10bc61 commit f2f0861
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/defines/jenkins_plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,19 @@
end
end # pinned file extension name


context 'with an updated timeout' do
let(:timeout) { 1337 }
let(:title) { 'foo' }
let(:params) do
{
:timeout => timeout,
}
end

it { should contain_archive__download('foo.hpi').with_timeout(timeout) }
end

describe 'deprecated params' do
[
'plugin_dir',
Expand Down

0 comments on commit f2f0861

Please sign in to comment.