diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-16 10:45:05 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-16 13:53:37 -0700 |
commit | 2b1d59d0655b250d2927a061185beb8d897f3b70 (patch) | |
tree | 3d9fa37b4a8be9f57cc4d3756e339b912a571f91 /spec/unit/config_fetcher_spec.rb | |
parent | a2e417039fd2850a4bc722c2ec2db9c9c36fca73 (diff) | |
download | chef-2b1d59d0655b250d2927a061185beb8d897f3b70.tar.gz |
Fixup specs to handle config jail feature
Diffstat (limited to 'spec/unit/config_fetcher_spec.rb')
-rw-r--r-- | spec/unit/config_fetcher_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/config_fetcher_spec.rb b/spec/unit/config_fetcher_spec.rb index f6d5436a11..c29521806a 100644 --- a/spec/unit/config_fetcher_spec.rb +++ b/spec/unit/config_fetcher_spec.rb @@ -8,7 +8,9 @@ describe Chef::ConfigFetcher do let(:config_location_regex) { Regexp.escape(config_location) } let(:invalid_json_error_regex) { %r[Could not parse the provided JSON file \(#{config_location_regex}\)] } - let(:fetcher) { Chef::ConfigFetcher.new(config_location) } + let(:config_jail_path) { nil } + + let(:fetcher) { Chef::ConfigFetcher.new(config_location, config_jail_path) } context "when loading a local file" do let(:config_location) { "/etc/chef/client.rb" } |