test/paths/file_test.rb in iostreams-1.2.1 vs test/paths/file_test.rb in iostreams-1.3.0
- old
+ new
@@ -169,10 +169,10 @@
end
end
describe "reader" do
it "reads file" do
- assert_equal data, file_path.reader(&:read)
+ assert_equal data, file_path.read
end
end
describe "writer" do
it "creates file" do