Sha256: 6d06b17fb469e9504b5dec45c2fcd0cfdc54678085d586a672a06654b4ce69c8

Contents?: true

Size: 380 Bytes

Versions: 67

Compression:

Stored size: 380 Bytes

Contents

require 'fog/aws/models/auto_scaling/instance'

Shindo.tests("Fog::AWS::AutoScaling::Instance", 'aws') do
  @instance = Fog::AWS::AutoScaling::Instance.new

  test('#healthy? = true') do
    @instance.health_status = 'Healthy'
    @instance.healthy? == true
  end

  test('#heatlhy? = false') do
    @instance.health_status = 'Unhealthy'
    @instance.healthy? == false
  end
end

Version data entries

67 entries across 65 versions & 5 rubygems

Version Path
fog-aws-0.0.7 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.0.6 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.0.5 tests/models/auto_scaling/instance_tests.rb
fog-1.26.0 tests/aws/models/auto_scaling/instance_tests.rb
fog-1.25.0 tests/aws/models/auto_scaling/instance_tests.rb
nsidc-fog-1.24.1 tests/aws/models/auto_scaling/instance_tests.rb
fog-1.24.0 tests/aws/models/auto_scaling/instance_tests.rb