I am using the Quick Fix feature (Alt-Enter) on a Step in a Scenario Outline in a Cucumber feature file to auto-create the Ruby step definition. The Step looks something like:
Given a driver: <name>, <address>, <phone_number>
When I use Quick Fix I get the following code:
Given /^a driver: <name>, <address>, <phone_number>$/ do
What I expected to see was:
Given /^a driver: (.*), (.*), (.*)$/ do | name, address, phone_number |
Is there a reason why Quick Fix doesn't audiomagically extract the variables? Am I missing a configuration setting somewhere?