2012-07-26 19:25:23 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2012-07-31 04:10:37 +02:00
|
|
|
describe Mutant::Context, '#root' do
|
2012-07-26 19:25:23 +02:00
|
|
|
subject { object.root(mock) }
|
|
|
|
|
|
|
|
let(:object) { described_class.allocate }
|
|
|
|
|
|
|
|
it 'should raise error' do
|
|
|
|
expect { subject }.to raise_error('Mutant::Context#root is not implemented')
|
|
|
|
end
|
|
|
|
end
|