10c3dfc390
* Add tests for all edge cases I could create * Add infrastructure for loading mutations into the vm. * The fun part is next!
12 lines
286 B
Ruby
12 lines
286 B
Ruby
require 'spec_helper'
|
|
|
|
describe Mutant::Mutatee,'#node' do
|
|
subject { object.node }
|
|
let(:object) { described_class.new(context,node) }
|
|
let(:node) { mock('Node') }
|
|
let(:context) { mock('Context') }
|
|
|
|
it { should be(node) }
|
|
|
|
it_should_behave_like 'an idempotent method'
|
|
end
|