Right now, trying to run a drush command with double quotes in the argument will not match the regex so behat will suggest creating a new function.

I basically copied the MinkContext.php regex for assertResponseContains and then wrap it in fixStepArgument which is already available since DrupalContext extends MinkContext.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

greggles’s picture

Status: Active » Needs review

And...here it is.

greggles’s picture

jhedstrom’s picture

Status: Needs review » Fixed

Thanks! Committed in f3263f4.

  • Commit f3263f4 on master authored by greggles, committed by jhedstrom:
    Issue #2228345 by greggles: Add support for drush commands that contain...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit f3263f4 on master, 1.0 authored by greggles, committed by jhedstrom:
    Issue #2228345 by greggles: Add support for drush commands that contain...

  • Commit f3263f4 on master, 1.0, test-symfony authored by greggles, committed by jhedstrom:
    Issue #2228345 by greggles: Add support for drush commands that contain...