concept step in category rails

This is an excerpt from Manning's book Rails 3 in Action.
What you see here is known as a scenario in Cucumber. Under the scenario’s title, the remainder of the lines are called steps, which are read by Cucumber’s parser and matched to step definitions, where the logic is kept. Scenarios are found inside a feature, which is a collection of common scenarios. For example, you may have one feature for dictating what happens when a user creates projects and another for when a user creates tickets.
The :confirm option brings up a prompt, using JavaScript, that asks users if they’re sure of what they clicked. Because Capybara doesn’t support JavaScript by default, this prompt is ignored, so you don’t have to tell Capybara to click OK on the prompt—there is no prompt because Rails has a built-in fallback for users without JavaScript enabled. If you launch a browser and follow the steps in the feature to get to this Delete Project link, and then click the link, you see the confirmation prompt. This prompt is exceptionally helpful for preventing accidental deletions.