Sha256: 28acb991e28b1b24d3ae3cd816683793123e3b81027a5a159fed3be15006a7aa
Contents?: true
Size: 1023 Bytes
Versions: 3
Compression:
Stored size: 1023 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '../../spec_helper') describe "Client class" do before(:all) do Muhimbi::Config.setup do |config| config.wsdl = config_options["wsdl"] end @client = Muhimbi::Client.client end it "savon client" do @client.class.should == Savon::Client end it "should have operations" do @client.operations.class.should == Array end it "operations should include to convert" do @client.operations.include?(:convert).should be_true end context "Get Configuration" do before :each do @client = Muhimbi::Client end it "get_configuration" do @client.get_configuration.should_not be_blank @client.get_configuration.keys.should include(:conversion_server_address) end end context "Get Diagnostics" do before :each do @client = Muhimbi::Client end it "get_diagnostics" do @client.get_diagnostics(["WordProcessing", "InfoPath"]).should_not be_blank end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
muhimbi-0.0.3 | spec/functional/client_spec.rb |
muhimbi-0.0.2 | spec/functional/client_spec.rb |
muhimbi-0.0.1 | spec/functional/client_spec.rb |