Remove error handling for evaluation errors
This commit is contained in:
1 parent
0904fa1fc9
commit
a5d9ca26f4
12 files changed
+1
-146
No files matched your search
@@ -57,14 +57,6 @@ module Producer::Core
|
||||
expect(dsl.actions.first.env).to eq env
|
||||
end
|
||||
end
|
||||
|
||||
context 'when given block is invalid' do
|
||||
it 'raises a TaskEvaluationError on NameError' do
|
||||
dsl = Task::DSL.new { invalid_action }
|
||||
expect { dsl.evaluate(env) }
|
||||
.to raise_error(TaskEvaluationError)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '#condition' do
|
||||
|
||||
Reference in new issue
Block a user