test/paths/s3_test.rb in iostreams-1.0.0.beta6 vs test/paths/s3_test.rb in iostreams-1.0.0.beta7

- old
+ new

@@ -8,11 +8,11 @@ skip "Supply 'S3_BUCKET_NAME' environment variable with S3 bucket name to test S3 paths" end end let :file_name do - File.join(File.dirname(__FILE__), '..', 'files', 'text.txt') + File.join(File.dirname(__FILE__), '..', 'files', 'text file.txt') end let :raw do File.read(file_name) end @@ -207,9 +207,15 @@ assert_equal target.to_s, response.to_s ensure source&.delete target&.delete end + end + end + + describe '#partial_files_visible?' do + it 'visible only after upload' do + refute root_path.partial_files_visible? end end end end end