test/yao/resources/test_loadbalancer_healthmonitor.rb in yao-0.3.7 vs test/yao/resources/test_loadbalancer_healthmonitor.rb in yao-0.3.8
- old
+ new
@@ -15,12 +15,12 @@
"timeout" => 5,
"max_retries_down" => 3,
"url_path" => "/",
"type" => "HTTP",
"operating_status" => "ONLINE"
- }
+ }
- healthmonitor = Yao::LoadBalancerHealthMonitor.new(params)
+ healthmonitor = Yao::Resources::LoadBalancerHealthMonitor.new(params)
assert_equal(healthmonitor.name, "super-pool-health-monitor")
assert_equal(healthmonitor.admin_state_up, true)
assert_equal(healthmonitor.created, Time.parse("2017-05-11T23:53:47"))
assert_equal(healthmonitor.provisioning_status, "ACTIVE")
assert_equal(healthmonitor.updated, Time.parse("2017-05-11T23:53:47"))