features/basic_auth.feature in ruby_odata-0.0.9 vs features/basic_auth.feature in ruby_odata-0.0.10
- old
+ new
@@ -1,9 +1,9 @@
Feature: Service Should Access Basic Auth Protected Resources
Background:
- Given an ODataService exists with uri: "http://localhost:8888/SampleService/BasicAuth/Entities.svc" using username "admin" and password "passwd"
+ Given an ODataService exists with uri: "http://localhost:8989/SampleService/BasicAuth/Entities.svc" using username "admin" and password "passwd"
And blueprints exist for the service
Scenario: Service should respond to valid collections
Then I should be able to call "Products" on the service
@@ -14,11 +14,11 @@
When I run the query
Then the method "Id" on the result should equal: "1"
And the method "Name" on the result should equal: "Auth Test Category"
Scenario: Should get 401 if invalid credentials provided to protected URL
- Given an ODataService exists with uri: "http://localhost:8888/SampleService/BasicAuth/Entities.svc" using username "admin" and password "bad_pwd" it should throw an exception with message "401 Unauthorized"
+ Given an ODataService exists with uri: "http://localhost:8989/SampleService/BasicAuth/Entities.svc" using username "admin" and password "bad_pwd" it should throw an exception with message "401 Unauthorized"
Scenario: Should get 401 if no credentials provided to protected URL
- Given an ODataService exists with uri: "http://localhost:8888/SampleService/BasicAuth/Entities.svc" it should throw an exception with message "401 Unauthorized"
+ Given an ODataService exists with uri: "http://localhost:8989/SampleService/BasicAuth/Entities.svc" it should throw an exception with message "401 Unauthorized"