Sha256: 68938366af4d761b17ac2d84ea8eedc6d5a591a0a71ce06436441a236c5ecee3

Contents?: true

Size: 330 Bytes

Versions: 47

Compression:

Stored size: 330 Bytes

Contents

require "spec_helper"

describe "Fog#timeout" do
  before do
    @old_timeout = Fog.timeout
  end

  after do
    Fog.timeout = @old_timeout
  end

  it "defaults to 600" do
    assert_equal 600, Fog.timeout
  end

  it "can be reassigned through Fog#timeout=" do
    Fog.timeout = 300
    assert_equal 300, Fog.timeout
  end
end

Version data entries

47 entries across 44 versions & 3 rubygems

Version Path
fog-core-2.4.0 spec/timeout_spec.rb
fog-core-2.3.0 spec/timeout_spec.rb
fog-core-2.2.4 spec/timeout_spec.rb
fog-core-2.2.3 spec/timeout_spec.rb
fog-core-2.2.2 spec/timeout_spec.rb
fog-core-2.2.1 spec/timeout_spec.rb
fog-core-2.2.0 spec/timeout_spec.rb
fog-core-2.1.2 spec/timeout_spec.rb
fog-core-2.1.1 spec/timeout_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-core-1.45.0/spec/timeout_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-core-1.45.0/spec/timeout_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-core-2.1.0/spec/timeout_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-core-1.45.0/spec/timeout_spec.rb
fog-core-2.1.0 spec/timeout_spec.rb
fog-core-2.0.0 spec/timeout_spec.rb
fog-core-1.45.0 spec/timeout_spec.rb
fog-core-1.44.3 spec/timeout_spec.rb
fog-core-1.44.2 spec/timeout_spec.rb
fog-core-1.44.1 spec/timeout_spec.rb
fog-core-1.44.0 spec/timeout_spec.rb