Sha256: 65c6d2286078d8cd6962f733bddb5e1629299481b0e5a909b66b3610b231f548
Contents?: true
Size: 319 Bytes
Versions: 29
Compression:
Stored size: 319 Bytes
Contents
# encoding: utf-8 describe 'Date' do it 'should not crash when requesting frozen attributes' do # This test will pass without patch on MRI 1.9.x, but on MRI 1.8.x it # crashes. (Untested on other Ruby implementations such as Rubinius and # JRuby). d = Date.today d.freeze d.year end end
Version data entries
29 entries across 29 versions & 1 rubygems