Change "wording" in Recipe::DSL#evaluate spec

This commit is contained in:
Thibault Jouan 2013-08-01 17:08:03 +00:00
parent 0ab6a4e246
commit 57ff1c73be

View File

@ -49,7 +49,7 @@ module Producer::Core
end
it 'raises a RecipeEvaluationError on NameError' do
dsl = Recipe::DSL.new { incorrect_keyword }
dsl = Recipe::DSL.new { invalid_keyword }
expect { dsl.evaluate(env) }.to raise_error(Recipe::RecipeEvaluationError)
end
end