The following code within a step definition fails, raising an exception with the message TODO. The element referenced does not exist on the page, so since it is within a pending block, it should pass (unless I'm misunderstanding the use cases of pending).
pending do
on(HomePage) { |page| expect(page.big_image_element).to be_visible }
endAfter taking a look at the StrictPending module within Selenium, it seems likely this is actually a Cucumber bug (since no todo statements are found), but it would be nice to have a workaround.