diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-03-14 00:36:32 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-03-14 00:36:32 -0700 |
commit | 7fbfa8cabecc943670cb5765900979efe8a0dcb7 (patch) | |
tree | e4a58b00066dc05eee384e3b6cac48f76af0c6a6 /spec | |
parent | 8785608a3ff644e4835045396913f0f137706d3c (diff) | |
download | chef-7fbfa8cabecc943670cb5765900979efe8a0dcb7.tar.gz |
Getting rid of coverage in git
Diffstat (limited to 'spec')
-rw-r--r-- | spec/data/cookbooks/openldap/attributes/default.rb | 1 | ||||
-rw-r--r-- | spec/data/cookbooks/openldap/ignore | 6 | ||||
-rw-r--r-- | spec/unit/compile_spec.rb | 45 | ||||
-rw-r--r-- | spec/unit/cookbook_collection_spec.rb | 65 |
4 files changed, 7 insertions, 110 deletions
diff --git a/spec/data/cookbooks/openldap/attributes/default.rb b/spec/data/cookbooks/openldap/attributes/default.rb index 652fc18a20..8c00028021 100644 --- a/spec/data/cookbooks/openldap/attributes/default.rb +++ b/spec/data/cookbooks/openldap/attributes/default.rb @@ -1,3 +1,4 @@ + case chef_env when "prod" ldap_server "ops1prod" diff --git a/spec/data/cookbooks/openldap/ignore b/spec/data/cookbooks/openldap/ignore index e69de29bb2..e96f4e7df4 100644 --- a/spec/data/cookbooks/openldap/ignore +++ b/spec/data/cookbooks/openldap/ignore @@ -0,0 +1,6 @@ +# +# The ignore file allows you to skip files in cookbooks with the same name that appear +# later in the search path. +# + +recipes/ignoreme.rb
\ No newline at end of file diff --git a/spec/unit/compile_spec.rb b/spec/unit/compile_spec.rb deleted file mode 100644 index 1a986b8f44..0000000000 --- a/spec/unit/compile_spec.rb +++ /dev/null @@ -1,45 +0,0 @@ -# -# Author:: Adam Jacob (<adam@hjksolutions.com>) -# Copyright:: Copyright (c) 2008 HJK Solutions, LLC -# License:: GNU General Public License version 2 or later -# -# This program and entire repository is free software; you can -# redistribute it and/or modify it under the terms of the GNU -# General Public License as published by the Free Software -# Foundation; either version 2 of the License, or any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# - -require File.join(File.dirname(__FILE__), "..", "spec_helper") - -# describe Chef::Compile do -# before(:each) do -# config = Chef::Config.new -# config.cookbook_path = [ File.join(File.dirname(__FILE__), "..", "cookbooks") ] -# @compile = Chef::Compile.new(config) -# end -# -# it "should require a node object to compile" do -# -# end -# -# it "should load up all variables" do -# -# end -# -# it "should load up all definitions" do -# -# end -# -# it "should load up all recipes" do -# -# end -# end
\ No newline at end of file diff --git a/spec/unit/cookbook_collection_spec.rb b/spec/unit/cookbook_collection_spec.rb deleted file mode 100644 index c2b7b976f9..0000000000 --- a/spec/unit/cookbook_collection_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -# -# Author:: Adam Jacob (<adam@hjksolutions.com>) -# Copyright:: Copyright (c) 2008 HJK Solutions, LLC -# License:: GNU General Public License version 2 or later -# -# This program and entire repository is free software; you can -# redistribute it and/or modify it under the terms of the GNU -# General Public License as published by the Free Software -# Foundation; either version 2 of the License, or any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# - -# require File.join(File.dirname(__FILE__), "..", "spec_helper") -# -# describe Chef::CookbookCollection do -# before(:each) do -# config = Chef::Config.new -# config.cookbook_path = [ -# File.join(File.dirname(__FILE__), "..", "data", "cookbooks") -# File.join(File.dirname(__FILE__), "..", "data", "kitchen-cookbooks") -# ] -# @cc = Chef::CookbookCollection.new(config) -# end -# -# it "should be a Chef::CookbookCollection object" do -# @cookbooks.should be_kind_of(Chef::CookbookCollection) -# end -# -# it "should return a list of available cookbooks as []" do -# @cookbooks[:openldap].should -# end -# -# it "should allow you to iterate over cookbooks with each" do -# end -# -# it "should auto-load a cookbook via [] if it isn't loaded already" do -# end -# -# it "should find all the cookbooks in the cookbook path" do -# end -# -# it "should allow you to override an attribute file via cookbook_path" do -# end -# -# it "should allow you to override a definition file via cookbook_path" do -# end -# -# it "should allow you to override a recipe file via cookbook_path" do -# end -# -# it "should allow you to declare a cookbook as 'final', and not look for any other" do -# end -# -# it "should allwo you to have an 'ignore' file, which skips loading files in later cookbooks" do -# end -# -# end
\ No newline at end of file |