Improve Recipe::DSL#initialize spec
This commit is contained in:
parent
352fcd37f8
commit
9971283841
@ -14,7 +14,7 @@ module Producer::Core
|
||||
end
|
||||
|
||||
it 'assigns no task' do
|
||||
expect(dsl.instance_eval { @tasks }).to be_empty
|
||||
expect(dsl.tasks).to be_empty
|
||||
end
|
||||
|
||||
context 'when a string of code is given as argument' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user