test/models/resources/test_deployment.rb in fog-azure-rm-0.0.8 vs test/models/resources/test_deployment.rb in fog-azure-rm-0.0.9
- old
+ new
@@ -13,11 +13,11 @@
methods = [
:save,
:destroy
]
methods.each do |method|
- assert @deployment.respond_to? method, true
+ assert_respond_to @deployment, method
end
end
def test_model_attributes
attributes = [
@@ -35,10 +35,10 @@
:debug_setting,
:content_version,
:provisioning_state
]
attributes.each do |attribute|
- assert @deployment.respond_to? attribute, true
+ assert_respond_to @deployment, attribute
end
end
def test_save_method_response
@service.stub :create_deployment, @response do