Permalink
Browse files

Adding Travis support for Chefspec

  • Loading branch information...
1 parent 4635895 commit 215e6a1e507b90519263528aac836dfa0e390eb1 @mdxp committed Jun 22, 2012
Showing with 18 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +6 −0 .travis.yml
  3. +3 −0 spec/Gemfile
  4. +8 −0 spec/default_spec.rb
View
1 .gitignore
@@ -0,0 +1 @@
+Gemfile.lock
View
6 .travis.yml
@@ -0,0 +1,6 @@
+language: ruby
+gemfile:
+ - spec/Gemfile
+rvm:
+ - 1.9.3
+script: "rspec spec"
View
3 spec/Gemfile
@@ -0,0 +1,3 @@
+source "https://rubygems.org"
+
+gem "chefspec", "~>0.6"
View
8 spec/default_spec.rb
@@ -0,0 +1,8 @@
+require 'chefspec'
+
+describe 'icinga::default' do
+ let (:chef_run) { ChefSpec::ChefRunner.new.converge 'icinga::default' }
+ it 'should do something' do
+ pending 'Your recipe examples go here.'
+ end
+end

0 comments on commit 215e6a1

Please sign in to comment.