test/models/network/test_load_balancer.rb in fog-azure-rm-0.0.8 vs test/models/network/test_load_balancer.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -13,11 +13,11 @@
methods = [
:save,
:destroy
]
methods.each do |method|
- assert @load_balancer.respond_to? method
+ assert_respond_to @load_balancer, method
end
end
def test_model_attributes
attributes = [
@@ -31,10 +31,10 @@
:probes,
:inbound_nat_rules,
:inbound_nat_pools
]
attributes.each do |attribute|
- assert @load_balancer.respond_to? attribute
+ assert_respond_to @load_balancer, attribute
end
end
def test_save_method_response
@service.stub :create_load_balancer, @response do