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-3.12.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.11.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.10.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.9.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.8.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.7.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.6.7 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.6.6 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.6.5 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.6.4 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.6.3 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.6.2 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.5.2 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.5.1 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.5.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.4.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.3.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.2.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-3.1.0 tests/models/auto_scaling/instance_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/tests/models/auto_scaling/instance_tests.rb