spec/unit/base_spec.rb in cookbook-omnifetch-0.1.0 vs spec/unit/base_spec.rb in cookbook-omnifetch-0.2.0
- old
+ new
@@ -30,9 +30,15 @@
it 'is an abstract function' do
expect { subject.to_lock }.to raise_error(AbstractFunction)
end
end
+ describe '#lock_data' do
+ it 'is an abstract function' do
+ expect { subject.lock_data }.to raise_error(AbstractFunction)
+ end
+ end
+
describe '#validate_cached!' do
context 'when the path is not a cookbook' do
before { CookbookOmnifetch.stub(:cookbook?).and_return(false) }
it 'raises an error' do