Sha256: 2c2cc43a24ca5df00a7c84a96e5140b6bf3da3f545740a5a32e228faf013dfee
Contents?: true
Size: 328 Bytes
Versions: 2
Compression:
Stored size: 328 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Adamantium::Mutable, '#frozen?' do subject { object.frozen? } let(:object) { class_under_test.new } let(:class_under_test) do Class.new do include Adamantium::Mutable end end it { should be(true) } it_should_behave_like 'an idempotent method' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adamantium-0.2.0 | spec/unit/adamantium/mutable/frozen_predicate_spec.rb |
adamantium-0.1.0 | spec/unit/adamantium/mutable/frozen_predicate_spec.rb |