test/models/resources/test_resource_group.rb in fog-azure-rm-0.0.8 vs test/models/resources/test_resource_group.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -13,21 +13,21 @@
methods = [
:save,
:destroy
]
methods.each do |method|
- assert @resource_group.respond_to? method, true
+ assert_respond_to @resource_group, method
end
end
def test_model_attributes
attributes = [
:id,
:name,
:location
]
attributes.each do |attribute|
- assert @resource_group.respond_to? attribute, true
+ assert_respond_to @resource_group, attribute
end
end
def test_save_method_response
@service.stub :create_resource_group, @response do