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
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/tests/models/auto_scaling/instance_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/tests/models/auto_scaling/instance_tests.rb
fog-aws-3.0.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-2.0.1 tests/models/auto_scaling/instance_tests.rb
fog-aws-2.0.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.4.1 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.4.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.3.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.2.1 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.2.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.1.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-1.0.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.13.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.12.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.11.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.10.0 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.9.4 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.9.3 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.9.2 tests/models/auto_scaling/instance_tests.rb
fog-aws-0.9.1 tests/models/auto_scaling/instance_tests.rb