Sha256: b5c40a975869d8960f0414ad3dfbe82ad8eee550eb2082bed7ebc144d0782083
Contents?: true
Size: 359 Bytes
Versions: 12
Compression:
Stored size: 359 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'ice_nine' describe IceNine::Freezer::Struct, '.deep_freeze' do subject { object.deep_freeze(value) } let(:object) { described_class } context 'with a Struct' do let(:value) { klass.new('1') } let(:klass) { Struct.new(:a) } it_behaves_like 'IceNine::Freezer::Array.deep_freeze' end end
Version data entries
12 entries across 10 versions & 4 rubygems