2014-08-10 21:04:05 +00:00
|
|
|
RSpec.describe Mutant::Context, '#root' do
|
2013-02-16 21:26:49 +01:00
|
|
|
subject { object.root }
|
2012-07-26 19:25:23 +02:00
|
|
|
|
|
|
|
let(:object) { described_class.allocate }
|
|
|
|
|
|
|
|
it 'should raise error' do
|
2013-07-28 23:52:05 +02:00
|
|
|
expect do
|
|
|
|
subject
|
|
|
|
end.to raise_error('Mutant::Context#root is not implemented')
|
2012-07-26 19:25:23 +02:00
|
|
|
end
|
|
|
|
end
|