Sha256: 3b43d54942dbdc1f0731ddc9065f1ec3a7548c983bcd9f5eb6d2c22b4b9fa32c
Contents?: true
Size: 817 Bytes
Versions: 5
Compression:
Stored size: 817 Bytes
Contents
require "spec_helper" describe Wasabi::Document do context "with: namespaced_actions.xml" do subject { Wasabi::Document.new fixture(:namespaced_actions) } its(:namespace) { should == "http://api.example.com/api/" } its(:endpoint) { should == URI("https://api.example.com/api/api.asmx") } its(:element_form_default) { should == :qualified } it { should have(3).operations } its(:operations) do should include( { :delete_client => { :input => "DeleteClient", :action => "http://api.example.com/api/Client.Delete" } }, { :get_clients => { :input => "GetClients", :action => "http://api.example.com/api/User.GetClients" } }, { :get_api_key => { :input => "GetApiKey", :action => "http://api.example.com/api/User.GetApiKey" } } ) end end end
Version data entries
5 entries across 5 versions & 2 rubygems