Sha256: df05549aefcc9e4b7fc126792961c79faa668f2d567a6675d4b56a5a33c06684
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
@service_methods Feature: Service methods In order to use a WCF Data Service more efficiently As a consumer I want to be able to utilize custom WCF DS methods Background: Given a HTTP ODataService exists And blueprints exist for the service Scenario: A custom web get (no parameters) that returns an entity Given a category exists And I call the service method "EntityCategoryWebGet" Then the first result should be of type "Category" Scenario: A custom web get (with parameters) that returns a single entity Given a category: "cat1" exists with Id: 1 When I call the service method "EntitySingleCategoryWebGet" with 1 Then the result should be of type "Category" And the method "Id" on the result should equal: "1" Scenario: A custom web get that returns a collection of primitive types Given the following categories exist: | Name | | Cat1 | | Cat2 | | Cat3 | When I call the service method "CategoryNames" Then the primitive results should be: | Cat1 | | Cat2 | | Cat3 | Scenario: A custom web get that returns a single primitive type Given a category exists When I call the service method "FirstCategoryId" Then the integer result should be 1
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_odata-0.2.0.beta1 | features/service_methods.feature |