test/paths/s3_test.rb in iostreams-1.3.2 vs test/paths/s3_test.rb in iostreams-1.3.3
- old
+ new
@@ -136,10 +136,10 @@
assert_equal multiple_paths.collect(&:to_s).sort, each_root.children("**/*").collect(&:to_s).sort
end
it "returns all the children under a sub-dir" do
write_raw_data
- expected = abd_file_names.collect { |file_name| each_root.join(file_name) }
+ expected = %w[abd/test1.txt abd/test5.file].collect { |file_name| each_root.join(file_name) }
assert_equal expected.collect(&:to_s).sort, each_root.children("abd/*").collect(&:to_s).sort
end
it "missing path" do
count = 0