Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
language: ruby | ||
rvm: | ||
- 1.9.3 | ||
- 2.0.0 | ||
deploy: | ||
edge: true | ||
provider: chef-supermarket | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
source 'https://supermarket.getchef.com' | ||
|
||
metadata | ||
|
||
cookbook 'wsus-client-test', path: './test/cookbooks/wsus-client-test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'berkshelf' | ||
gem 'chefspec', '>= 4.2' | ||
gem 'fauxhai', '>= 2.2' | ||
gem 'foodcritic', '>= 4.0' | ||
gem 'rake' | ||
|
||
group :test do | ||
gem 'foodcritic' | ||
if RUBY_VERSION < '2.0' | ||
gem 'chef', '< 12.0' | ||
gem 'ohai', '< 8.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file was generated by the `rspec --init` command. Conventionally, all | ||
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. | ||
# Require this file using `require "spec_helper"` to ensure that it is only | ||
# loaded once. | ||
# | ||
require 'chefspec' | ||
require 'chefspec/berkshelf' | ||
|
||
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration | ||
RSpec.configure do |config| | ||
config.run_all_when_everything_filtered = true | ||
config.filter_run :focus | ||
config.order = 'random' | ||
end |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name 'wsus-client-test' | ||
maintainer 'Criteo' | ||
maintainer_email 'b.courtois@criteo.com' | ||
license 'Apache 2.0' | ||
description 'Test cookbook for wsus-client' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version '0.1.0' | ||
supports 'windows' | ||
depends 'wsus-client' |