Skip to content

Commit

Permalink
Add basic no error converge rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 committed Sep 23, 2015
1 parent b809511 commit feee3c1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/unit/recipes/default_spec.rb
@@ -0,0 +1,13 @@
require 'spec_helper'

describe 'default recipe on Ubuntu 14.04' do
let(:chef_run) do
ChefSpec::ServerRunner.new do |node|
node.automatic[:lsb][:codename] = 'trusty'
end.converge('tomcat::default')
end

it 'converges successfully' do
expect { :chef_run }.to_not raise_error
end
end

0 comments on commit feee3c1

Please sign in to comment.