test/models/network/test_subnets.rb in fog-azure-rm-0.0.8 vs test/models/network/test_subnets.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -12,16 +12,16 @@
methods = [
:all,
:get
]
methods.each do |method|
- assert @subnets.respond_to? method
+ assert_respond_to @subnets, method
end
end
def test_collection_attributes
- assert @subnets.respond_to? :resource_group
- assert @subnets.respond_to? :virtual_network_name
+ assert_respond_to @subnets, :resource_group
+ assert_respond_to @subnets, :virtual_network_name
end
def test_all_method_response
response = [ApiStub::Models::Network::Subnet.create_subnet_response(@network_client)]
@service.stub :list_subnets, response do