Sha256: 5925832c9b39bd5e6a0f79f867022010aeb56075fbe05bb96b99395bc163b771
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
require 'stringio' require File.expand_path('../../../spec_helper', __FILE__) ruby_version_is "1.9.2" do describe "StringIO#external_encoding" do it "gets the encoding of the underlying String" do io = StringIO.new io.set_encoding Encoding::UTF_8 io.external_encoding.should == Encoding::UTF_8 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysl-stringio-1.0.1 | spec/external_encoding_spec.rb |
rubysl-stringio-1.0.0 | spec/external_encoding_spec.rb |
rubysl-stringio-2.0.0 | spec/external_encoding_spec.rb |