test/yao/resources/test_loadbalancer.rb in yao-0.3.7 vs test/yao/resources/test_loadbalancer.rb in yao-0.3.8
- old
+ new
@@ -12,10 +12,10 @@
"name" => "greate loadbalancer",
"created_at" => "2017-02-28T00:41:44",
"updated_at" => "2017-02-28T00:43:30",
}
- lb = Yao::LoadBalancer.new(params)
+ lb = Yao::Resources::LoadBalancer.new(params)
assert_equal(lb.provider, "octavia")
assert_equal(lb.description, "greate loadbalancer")
assert_equal(lb.admin_state_up, true)
assert_equal(lb.provisioning_status, "ACTIVE")
assert_equal(lb.vip_address, "198.51.100.1")