free_mutant/spec/unit/mutant/mutatee/context_spec.rb
Markus Schirp 10c3dfc390 Finalize method matching
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00

13 lines
294 B
Ruby

require 'spec_helper'
describe Mutant::Mutatee,'#context' do
subject { object.context }
let(:object) { described_class.new(context,ast) }
let(:ast) { mock('AST') }
let(:context) { mock('Context') }
it { should be(context) }
it_should_behave_like 'an idempotent method'
end