Fix confusing local variable name in Task spec

This commit is contained in:
Thibault Jouan 2013-08-16 23:31:14 +00:00
parent b4e6fa3ef6
commit 0008f0255a

View File

@ -12,8 +12,8 @@ module Producer::Core
it 'delegates to DSL.evaluate' do
expect(Task::DSL)
.to receive(:evaluate).with(name, env) do |&block|
expect(block.call).to eq :some_value
.to receive(:evaluate).with(name, env) do |&b|
expect(b.call).to eq :some_value
end
Task.evaluate(name, env, &block)
end