test/yao/resources/test_loadbalancer_healthmonitor.rb in yao-0.8.0 vs test/yao/resources/test_loadbalancer_healthmonitor.rb in yao-0.9.0

- old
+ new

@@ -16,21 +16,21 @@ "type" => "HTTP", "operating_status" => "ONLINE" } 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")) - assert_equal(healthmonitor.delay, 10) - assert_equal(healthmonitor.expected_codes, "200") - assert_equal(healthmonitor.max_retries, 1) - assert_equal(healthmonitor.http_method, "GET") - assert_equal(healthmonitor.timeout, 5) - assert_equal(healthmonitor.max_retries_down, 3) - assert_equal(healthmonitor.url_path, "/") - assert_equal(healthmonitor.type, "HTTP") - assert_equal(healthmonitor.operating_status, "ONLINE") + assert_equal("super-pool-health-monitor", healthmonitor.name) + assert_equal(true, healthmonitor.admin_state_up) + assert_equal(Time.parse("2017-05-11T23:53:47"), healthmonitor.created) + assert_equal("ACTIVE", healthmonitor.provisioning_status) + assert_equal(Time.parse("2017-05-11T23:53:47"), healthmonitor.updated) + assert_equal(10, healthmonitor.delay) + assert_equal("200", healthmonitor.expected_codes) + assert_equal(1, healthmonitor.max_retries) + assert_equal("GET", healthmonitor.http_method) + assert_equal(5, healthmonitor.timeout) + assert_equal(3, healthmonitor.max_retries_down) + assert_equal("/", healthmonitor.url_path) + assert_equal("HTTP", healthmonitor.type) + assert_equal("ONLINE", healthmonitor.operating_status) end end