summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2010-07-21 16:45:11 -0700
committerDaniel DeLeo <dan@opscode.com>2010-07-21 16:45:11 -0700
commit20caa069c28abd12fc2bd62606474fdba7362d97 (patch)
tree40ef578f7a32b3a9f65b0b28dd9ac5e10753da6c /spec/spec_helper.rb
parenta31bf8e240e2d00e002fd70b82b41d30716c7ecf (diff)
downloadmixlib-authentication-20caa069c28abd12fc2bd62606474fdba7362d97.tar.gz
[CHEF-761] extract header handling into its own class
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
new file mode 100644
index 0000000..3185a12
--- /dev/null
+++ b/spec/spec_helper.rb
@@ -0,0 +1,23 @@
+#
+# Author:: Tim Hinderliter (<tim@opscode.com>)
+# Author:: Christopher Walters (<cw@opscode.com>)
+# Copyright:: Copyright (c) 2009, 2010 Opscode, Inc.
+# License:: Apache License, Version 2.0
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")) # lib in mixlib-authentication
+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "mixlib-log", "lib")) # mixlib-log/log
+
+require 'rubygems'