summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/binmode_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/binmode_spec.rb')
-rw-r--r--spec/ruby/library/stringio/binmode_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringio/binmode_spec.rb b/spec/ruby/library/stringio/binmode_spec.rb
index 8317878..853d9c9 100644
--- a/spec/ruby/library/stringio/binmode_spec.rb
+++ b/spec/ruby/library/stringio/binmode_spec.rb
@@ -9,7 +9,7 @@ describe "StringIO#binmode" do
it "changes external encoding to BINARY" do
io = StringIO.new
- io.external_encoding.should == Encoding.find('locale')
+ io.external_encoding.should == Encoding.find('external')
io.binmode
io.external_encoding.should == Encoding::BINARY
end