Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding Travis support for Chefspec

  • Loading branch information...
commit 215e6a1e507b90519263528aac836dfa0e390eb1 1 parent 4635895
@mdxp authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.