summaryrefslogtreecommitdiff
path: root/spec/functional/shell_spec.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2013-06-25 22:23:27 -0700
committerdanielsdeleo <dan@opscode.com>2013-06-26 10:47:47 -0700
commit02cce01e2d351a5974fc10ee755ddf9c9fd36a5d (patch)
treedd54e26f75935a59d9a7b2b8121383a3f929a3c5 /spec/functional/shell_spec.rb
parent7b4a67335fa6145d7d4675e1a17549ef7c1ce4d7 (diff)
downloadchef-02cce01e2d351a5974fc10ee755ddf9c9fd36a5d.tar.gz
Fix spec file loading annoyances
- Don't load all knife subcommands. Fixes error running tests on 1.8 when you have 1.9-only plugins installed. - Adjust spec file loading to use paths relative to spec/
Diffstat (limited to 'spec/functional/shell_spec.rb')
-rw-r--r--spec/functional/shell_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/shell_spec.rb b/spec/functional/shell_spec.rb
index b0fe0614db..90f421ca11 100644
--- a/spec/functional/shell_spec.rb
+++ b/spec/functional/shell_spec.rb
@@ -18,8 +18,9 @@
require 'spec_helper'
require 'chef/version'
+require 'chef/shell'
-describe Chef::Shell do
+describe Shell do
# chef-shell's unit tests are by necessity very mock-heavy, and frequently do
# not catch cases where chef-shell fails to boot because of changes in