Improve Recipe::DSL#initialize spec
This commit is contained in:
1 parent
352fcd37f8
commit
9971283841
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user