Sha256: 075f6d5d30945249ffe3d0ea6eaf54eeb03a5f4b84455a2d42e8f2f25258b1d8
Contents?: true
Size: 645 Bytes
Versions: 4
Compression:
Stored size: 645 Bytes
Contents
require 'spec_helper' describe ROXML do describe 'frozen nils' do subject { nil } # Prior to ruby-2.2, nil was not frozen. This test watches for # a regression in previous versions of roxml that caused nil to # become frozen. FIXME: remove after ruby-2.1 support is removed. if RUBY_VERSION < "2.2" context 'before unmarshalling an XML document' do it { is_expected.to_not be_frozen } end context 'after unmarshalling an XML document' do before do lib = Library.from_xml(fixture(:library)) end it { is_expected.to_not be_frozen } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
roxml-4.2.0 | spec/regression_spec.rb |
roxml-4.1.1 | spec/regression_spec.rb |
roxml-4.1.0 | spec/regression_spec.rb |
roxml-4.0.0 | spec/regression_spec.rb |