test/models/network/test_network_interface.rb in fog-azure-rm-0.0.8 vs test/models/network/test_network_interface.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -18,11 +18,11 @@
:attach_network_security_group,
:detach_public_ip,
:detach_network_security_group
]
methods.each do |method|
- assert @network_interface.respond_to? method
+ assert_respond_to @network_interface, method
end
end
def test_model_attributes
attributes = [
@@ -45,10 +45,10 @@
:applied_dns_servers,
:internal_dns_name_label,
:internal_fqd
]
attributes.each do |attribute|
- assert @network_interface.respond_to? attribute
+ assert_respond_to @network_interface, attribute
end
end
def test_save_method_response
@service.stub :create_or_update_network_interface, @response do