Sha256: a18f3aedaa3ca28b9490a675e97f55776912659732be66f3d81d3725ca17461f
Contents?: true
Size: 543 Bytes
Versions: 52
Compression:
Stored size: 543 Bytes
Contents
require File.expand_path('../../fixtures/classes', __FILE__) with_feature :encoding do describe "Encoding::UndefinedConversionError#destination_encoding" do before(:each) do @exception = EncodingSpecs::UndefinedConversionError.exception end it "returns an Encoding object" do @exception.destination_encoding.should be_an_instance_of(Encoding) end it "is equal to the destination encoding of the object that raised it" do @exception.destination_encoding.should == Encoding::US_ASCII end end end
Version data entries
52 entries across 52 versions & 2 rubygems