test/paths/s3_test.rb in iostreams-1.2.1 vs test/paths/s3_test.rb in iostreams-1.3.0

- old
+ new

@@ -71,11 +71,11 @@ end end describe "#reader" do it "reads" do - assert_equal raw, existing_path.reader(&:read) + assert_equal raw, existing_path.read end end describe "#size" do it "existing file" do @@ -87,10 +87,10 @@ end end describe "#writer" do it "writes" do - assert_equal raw.size, write_path.writer { |io| io.write(raw) } + assert_equal(raw.size, write_path.writer { |io| io.write(raw) }) assert write_path.exist? assert_equal raw, write_path.read end end