Sha256: a03dbb1df40b1d1fa745b9390549851fc1367252bf7180a73c4b33667c071bfc
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_name" do before(:each) do @exception = EncodingSpecs::UndefinedConversionError.exception end it "returns a String" do @exception.destination_encoding_name.should be_an_instance_of(String) end it "is equal to the destination encoding name of the object that raised it" do @exception.destination_encoding_name.should == "US-ASCII" end end end
Version data entries
52 entries across 52 versions & 2 rubygems