Chef 13 Upgrade: Testing ruby_blocks with ChefSpec (1 mins read).

Replace your block.old_run_action with block.block.call to trigger ruby_blocks within ChefSpec 7 and Chef 13.
Back to /kind/articles/, 2018, March 2018.
Chef 13 Upgrade: Testing ruby_blocks with ChefSpec (1 mins read).

Replace your block.old_run_action with block.block.call to trigger ruby_blocks within ChefSpec 7 and Chef 13.
Chef 13 Upgrade: Rubocop Changes for Word Array Literals (%w) (1 mins read).

A one-liner shell command to fix Rubocop errors %w-literals should be delimited by [ and ].
Chef 13 Upgrade: Rubocop Changes for Testing render_file with ChefSpec and a with_content Block (1 mins read).

How to resolve the Parenthesize the param render_file Rubocop error when upgrading your cookbook to Chef 13.
Chef 13 Upgrade: Rubocop Changes for lazy Parameters (1 mins read).

How to resolve the Parenthesize the param lazy Rubocop error when upgrading your cookbook to Chef 13.
Chef 13 Upgrade: Lessons Learnt and Documented for Posterity (1 mins read).

Notes on the main problems encountered when upgrading from Chef 12 to Chef 13, both with ChefSpec and Rubocop.
← 28 February 2018 7 March 2018 →