Sha256: f8daf844af34ddce50f5dcb9e58fd2c0897644e4f3a31b526d18262f3b9a4191
Contents?: true
Size: 718 Bytes
Versions: 1
Compression:
Stored size: 718 Bytes
Contents
Given /^I have the url for a remote wsdl$/ do @cls = ZipCodeService end Given /^I have a wsdl file residing locally$/ do @cls = LocalWsdlService end Given /^I use a SoapObject with a remote wsdl named "(.*?)"$/ do |service_class| @cls = Object.const_get(service_class) end When /^I create an instance of the SoapObject class$/ do using(@cls) end Then /^I should have a connection$/ do expect(using(@cls)).to be_connected end Then /^I should be able to determine the operations$/ do operations = using(@cls).operations expect(operations).to include :get_info_by_zip end Then /^I should be able to successfully call "(.*?)" with "(.*?)"$/ do |operation, args| using(@cls).send(operation, args) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soap-object-0.6.8 | features/step_definitions/core_functionality_steps.rb |