Ejemplo n.º 1
0
 public static SendExpression PostFeature(this Alba.Scenario scenario, Feature feature, string productName, string groupName)
 {
     return(scenario.Post.Json(feature).ToUrl(GenerateFeatureUrl(productName, groupName, feature.Title)));
 }
Ejemplo n.º 2
0
 public static SendExpression GetProductDescription(this Alba.Scenario scenario, string productName)
 {
     return(scenario.Get.Url(GenerateProductUrl(productName) + "/description"));
 }
Ejemplo n.º 3
0
 public static SendExpression GetFeature(this Alba.Scenario scenario, string productName, string groupName, string title)
 {
     return(scenario.Get.Url(GenerateFeatureUrl(productName, groupName, title)));
 }
Ejemplo n.º 4
0
 public static SendExpression PutProductDescription(this Alba.Scenario scenario, string productName, string productDescription)
 {
     return(scenario.Put.Text(productDescription).ToUrl(GenerateProductUrl(productName) + "/description"));
 }
Ejemplo n.º 5
0
 public HeaderExpectations(Scenario parent, string headerKey)
 {
     _parent    = parent;
     _headerKey = headerKey;
 }