diff options
author | jkeiser <jkeiser@opscode.com> | 2013-01-03 19:00:14 -0800 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-06-07 13:12:15 -0700 |
commit | 6afb866c55e9a4f69fa5474f494e807565ff693b (patch) | |
tree | 19e36c6317ed37fcc2f9eb26980fd1039afb2c77 /spec/unit/chef_fs/file_system_spec.rb | |
parent | f590c245baec8afb8fb1057be09db0285ceba7b1 (diff) | |
download | chef-6afb866c55e9a4f69fa5474f494e807565ff693b.tar.gz |
Adjust tests to match list(exact_path) behavior
Diffstat (limited to 'spec/unit/chef_fs/file_system_spec.rb')
-rw-r--r-- | spec/unit/chef_fs/file_system_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/unit/chef_fs/file_system_spec.rb b/spec/unit/chef_fs/file_system_spec.rb index 40d85e8a53..383a2c81ab 100644 --- a/spec/unit/chef_fs/file_system_spec.rb +++ b/spec/unit/chef_fs/file_system_spec.rb @@ -17,7 +17,6 @@ # require 'spec_helper' -require 'support/shared/unit/file_system_support' require 'chef/chef_fs/file_system' require 'chef/chef_fs/file_pattern' @@ -35,7 +34,7 @@ describe Chef::ChefFS::FileSystem do list_should_yield_paths(fs, '/a', '/a') end it '/a/b' do - list_should_yield_paths(fs, '/a/b') + list_should_yield_paths(fs, '/a/b', '/a/b') end it '/*' do list_should_yield_paths(fs, '/*', '/') @@ -105,7 +104,7 @@ describe Chef::ChefFS::FileSystem do end it 'nonexistent /a/ab/blah/bjork' do no_blocking_calls_allowed - list_should_yield_paths(fs, '/a/ab/blah/bjork') + list_should_yield_paths(fs, '/a/ab/blah/bjork', '/a/ab/blah/bjork') end end |