Sha256: eed879f4b37ff70e7990726a6b3503daf4ccac4f7fe16ab6db43432b013327e4

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

#- ©2009 Rick DeNatale
#- All rights reserved

require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])

describe RiCal::PropertyValue::Text do
  
  it "should handle escapes according to RFC2445 Sec 4.3.11 p 45" do
   expected = "this\\ has\, \nescaped\;\n\\x characters"
   it = RiCal::PropertyValue::Text.new(nil, :value => 'this\\ has\, \nescaped\;\N\x characters')
   it.ruby_value.should == expected
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyredrick-ri_cal-0.0.2 spec/ri_cal/property_value/text_spec.rb