Sha256: b964eb2ba9261709d4b33bd2aa63e25658de2cd80a70127e8c06ecdad54f865a

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 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

3 entries across 3 versions & 1 rubygems

Version Path
fog-core-1.24.0 spec/timeout_spec.rb
fog-core-1.23.0 spec/timeout_spec.rb
fog-core-1.22.0 spec/timeout_spec.rb