test/models/network/test_virtual_network.rb in fog-azure-rm-0.0.8 vs test/models/network/test_virtual_network.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -20,11 +20,11 @@
:remove_subnets,
:update,
:destroy
]
methods.each do |method|
- assert @virtual_network.respond_to? method
+ assert_respond_to @virtual_network, method
end
end
def test_model_attributes
attributes = [
@@ -35,10 +35,10 @@
:subnets,
:address_prefixes,
:resource_group
]
attributes.each do |attribute|
- assert @virtual_network.respond_to? attribute
+ assert_respond_to @virtual_network, attribute
end
end
def test_save_method_response
@service.stub :create_or_update_virtual_network, @response do