Sha256: c57b3f5ec2999183a77d245e2244f3abbb734722652bf3cbeb3d0d614cbdb484
Contents?: true
Size: 570 Bytes
Versions: 4
Compression:
Stored size: 570 Bytes
Contents
require 'spec_helper' describe Correios::CEP do describe "#request_timeout" do it "default is 5" do Correios::CEP.request_timeout.should eql 5 end context "when set timeout" do it "returns timeout" do Correios::CEP.configure { |config| config.request_timeout = 3 } Correios::CEP.request_timeout.should eql 3 end it "returns timeout in seconds (integer)" do Correios::CEP.configure { |config| config.request_timeout = 2.123 } Correios::CEP.request_timeout.should eql 2 end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
correios-cep-0.1.3 | spec/correios/cep_spec.rb |
correios-cep-0.1.2 | spec/correios/cep_spec.rb |
correios-cep-0.1.1 | spec/correios/cep_spec.rb |
correios-cep-0.1.0 | spec/correios/cep_spec.rb |