2012-07-26 13:25:23 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2012-07-30 22:10:37 -04:00
|
|
|
describe Mutant::Context, '#root' do
|
2012-07-26 13:25:23 -04: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
|