diff options
Diffstat (limited to 'spec/unit/chef_fs/config_spec.rb')
-rw-r--r-- | spec/unit/chef_fs/config_spec.rb | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/spec/unit/chef_fs/config_spec.rb b/spec/unit/chef_fs/config_spec.rb index c126d05c93..a0ed5146ca 100644 --- a/spec/unit/chef_fs/config_spec.rb +++ b/spec/unit/chef_fs/config_spec.rb @@ -57,21 +57,20 @@ describe Chef::ChefFS::Config do end describe "local FS configuration" do - let(:chef_config) do Mash.new({ - client_path: "/base_path/clients", - cookbook_path: "/base_path/cookbooks", - data_bag_path: "/base_path/data_bags", - environment_path: "/base_path/environments", - node_path: "/base_path/nodes", - role_path: "/base_path/roles", - user_path: "/base_path/users", - policy_path: "/base_path/policies", - },) + client_path: "/base_path/clients", + cookbook_path: "/base_path/cookbooks", + data_bag_path: "/base_path/data_bags", + environment_path: "/base_path/environments", + node_path: "/base_path/nodes", + role_path: "/base_path/roles", + user_path: "/base_path/users", + policy_path: "/base_path/policies", + },) end - let(:chef_fs_config) { Chef::ChefFS::Config.new(chef_config, Dir.pwd) } + let(:chef_fs_config) { Chef::ChefFS::Config.new(chef_config, Dir.pwd) } subject(:local_fs) { chef_fs_config.local_fs } |