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