test/models/network/test_network_interfaces.rb in fog-azure-rm-0.0.8 vs test/models/network/test_network_interfaces.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -12,15 +12,15 @@
methods = [
:all,
:get
]
methods.each do |method|
- assert @network_interfaces.respond_to? method
+ assert_respond_to @network_interfaces, method
end
end
def test_collection_attributes
- assert @network_interfaces.respond_to? :resource_group
+ assert_respond_to @network_interfaces, :resource_group
end
def test_all_method_response
response = [ApiStub::Models::Network::NetworkInterface.create_network_interface_response(@network_client)]
@service.stub :list_network_interfaces, response do