We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fd57d4 commit 4e9fd0bCopy full SHA for 4e9fd0b
spec/connection_spec.rb
@@ -20,7 +20,7 @@
20
end
21
22
it "can create a source from an area of memory" do
23
- str = File.open(simg("wagon.jpg"), "rb").read
+ str = File.binread(simg("wagon.jpg"))
24
source = Vips::Source.new_from_memory str
25
26
expect(source)
0 commit comments