Sha256: 7897e789c2f7985fd24b7003aee33a375f3867d283ff5b376e26a0c9f3223b22
Contents?: true
Size: 479 Bytes
Versions: 3
Compression:
Stored size: 479 Bytes
Contents
require 'spec_helper' describe Digidoc::Client do describe "#authenticate" do before do @client = Digidoc::Client.new @response = @client.authenticate(phone: phone) end let(:phone) {} context '303' do let(:phone) { '+37200001' } it "returns error" do @response.faultstring.should == '303' end end context 'close_session' do it 'closes session' do @client.close_session end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
digidoc_client-0.3.0 | spec/lib/client_spec.rb |
digidoc_client-0.2.1 | spec/lib/client_spec.rb |
digidoc_client-0.2.0 | spec/lib/client_spec.rb |