features/service.feature in ruby_odata-0.1.0 vs features/service.feature in ruby_odata-0.1.1
- old
+ new
@@ -1,5 +1,6 @@
+@service
Feature: Service Should Generate a Proxy
In order to consume the OData
As a user
I want to be able to access data
@@ -28,21 +29,21 @@
And I save changes
And I call "Categories" on the service with args: "1"
When I run the query
Then the first result should have a method: "Id"
And the first result should have a method: "Name"
-
+
Scenario: Entity should fill values
Given I call "AddToCategories" on the service with a new "Category" object with Name: "Test Category"
And I save changes
And I call "Categories" on the service with args: "1"
When I run the query
Then the method "Id" on the first result should equal: "1"
And the method "Name" on the first result should equal: "Test Category"
-Scenario: Navigation Properties should be included in results
+Scenario: Navigation Properties should be included in results
Given I call "AddToProducts" on the service with a new "Product" object
- And I save changes
+ And I save changes
And I call "Products" on the service with args: "1"
When I run the query
Then the first result should have a method: "Category"
And the method "Category" on the first result should be nil