Sha256: 1688ce90da8cc3ae6df90ef7be6819511b4f7c06d9d3eb5077b37084c761db55
Contents?: true
Size: 359 Bytes
Versions: 3
Compression:
Stored size: 359 Bytes
Contents
require 'spec_helper' describe Mutant::Subject, '#node' do subject { object.node } let(:class_under_test) do Class.new(described_class) end let(:object) { class_under_test.new(context, node) } let(:node) { mock('Node') } let(:context) { mock('Context') } it { should be(node) } it_should_behave_like 'an idempotent method' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.3.0.beta4 | spec/unit/mutant/subject/node_spec.rb |
mutant-0.3.0.beta3 | spec/unit/mutant/subject/node_spec.rb |
mutant-0.3.0.beta2 | spec/unit/mutant/subject/node_spec.rb |