public function testGrabFromCurrentUrl() { $this->module->amOnPage('/form/checkbox'); $this->assertEquals('/form/checkbox', $this->module->grabFromCurrentUrl()); $this->assertEquals('checkbox', $this->module->grabFromCurrentUrl('~form/(\\w+)~')); }
public function testGrabFromCurrentUrl() { $this->module->amOnPage('/form/checkbox'); $this->assertEquals('/form/checkbox', $this->module->grabFromCurrentUrl()); $this->assertEquals('checkbox', $this->module->grabFromCurrentUrl('~form/(\\w+)~')); }