features/basic_functionality.feature in soap-object-0.4 vs features/basic_functionality.feature in soap-object-0.5
- old
+ new
@@ -19,16 +19,22 @@
Scenario: Calling a service when using wsdl
Given I have the url for a remote wsdl
When I create an instance of the SoapObject class
Then I should be able to make a call and receive the correct results
- Scenario: Getting the body from a response
+ Scenario: Getting the xml from a response
Given I have the url for a remote wsdl
When I create an instance of the SoapObject class
Then I should be able to make a call and receive the correct results
- And the results body should contain "<NewDataSet><Table>"
+ And the results xml should contain "<STATE>CA"
- Scenario: Getting the body from a response
+ Scenario: Getting the doc from a response as a Nokogiri object
Given I have the url for a remote wsdl
When I create an instance of the SoapObject class
Then I should be able to make a call and receive the correct results
- And the results body xml should be a Nokogiri XML object
+ And the results doc should be a Nokogiri XML object
+
+ Scenario: Calling another service with wsdl
+ Given I am calling the Define service
+ When I create an instance of the SoapObject class
+ Then I should be able to get the correct definition results
+