spec/unit/network_packet_spec.rb in osc-ruby-1.0.0 vs spec/unit/network_packet_spec.rb in osc-ruby-1.1.0
- old
+ new
@@ -28,6 +28,10 @@
end
it "should be able to get a number of characters from the stream" do
@simple.getn(3).should == "abc"
end
+
+ it "outputs characters with ASCII/BINARY encoding" do
+ @simple.getc.encoding.to_s.should == "ASCII-8BIT"
+ end
end