From 6afb866c55e9a4f69fa5474f494e807565ff693b Mon Sep 17 00:00:00 2001 From: jkeiser Date: Thu, 3 Jan 2013 19:00:14 -0800 Subject: Adjust tests to match list(exact_path) behavior --- spec/unit/chef_fs/file_system_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spec/unit/chef_fs/file_system_spec.rb') 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 -- cgit v1.2.1