Sha256: f48859af87502c8869795ddec6649a0d42a0f49989152ddadce7a5447fdef46f
Contents?: true
Size: 606 Bytes
Versions: 2
Compression:
Stored size: 606 Bytes
Contents
require 'spec_helper' describe TresDelta::Client do let(:wsdl) { "http://example.com" } let(:client) { TresDelta::Client.new(wsdl) } let(:config) { TresDelta::Config.config } describe "#client_credentials" do it "uses the credentials passed into it" do client.client_credentials.should == { "ClientCode" => config["client_code"], "Password" => config["password"], "UserName" => config["user_name"] } end end describe "#client" do it "returns a Savon client for the WSDL" do client.client.class.should == Savon::Client end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tres_delta-0.0.2 | spec/tres_delta/client_spec.rb |
tres_delta-0.0.1 | spec/tres_delta/client_spec.rb |