public function FeatureContext::optionsForUnitType in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
@Given /^options for "([^"]*)" unit type:$/
File
- test/
features/ bootstrap/ FeatureContext.php, line 626
Class
- FeatureContext
- Features context.
Code
public function optionsForUnitType($unit_type, TableNode $table) {
$wrapper = entity_metadata_wrapper('rooms_unit_type', $unit_type);
$this
->addOptionsToEntity($table, $wrapper);
}