Sha256: d51d97bc61309eef953674a74e4f62bc10475d4cddacb2d34bca0e247743c655
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Adamantium::Freezer::Flat, '.freeze' do subject { object.freeze(value) } let(:object) { described_class } let(:value) { double('Value') } it 'should freeze value' do value.should_receive(:freeze).and_return(value) should be(value) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adamantium-0.2.0 | spec/unit/adamantium/freezer/flat/class_methods/freeze_spec.rb |
adamantium-0.1.0 | spec/unit/adamantium/freezer/flat/class_methods/freeze_spec.rb |