spec/hello_sign/client_spec.rb in hellosign-ruby-sdk-3.6 vs spec/hello_sign/client_spec.rb in hellosign-ruby-sdk-3.6.1

- old
+ new

@@ -26,17 +26,26 @@ :auth_token => 'auth_token', :log_level => 5, :logging => false, :proxy_uri => 'proxy_uri', :proxy_user => 'proxy_user', - :proxy_pass => 'proxy_pass' + :proxy_pass => 'proxy_pass', + :timeout => 240 } } subject(:client) { HelloSign::Client.new custom_client } HelloSign::Configuration::VALID_OPTIONS_KEYS.each do |key| it "should set #{key}" do expect(client.send(key)).to eql(custom_client[key]) end + end + + it "should create a new HelloSign Client" do + expect(client).to be_an_instance_of(HelloSign::Client) + end + + it "should have 'timeout' as a parameter" do + expect(client.timeout).to eq(240) end end end describe '#request' do