tests/digitalocean/models/compute/image_tests.rb in fog-1.22.0 vs tests/digitalocean/models/compute/image_tests.rb in fog-1.22.1
- old
+ new
@@ -19,13 +19,12 @@
test("#{attribute}") { image.respond_to? attribute }
end
end
tests("The attributes hash should have key") do
attributes.each do |attribute|
- test("#{attribute}") { model_attribute_hash.has_key? attribute }
+ test("#{attribute}") { model_attribute_hash.key? attribute }
end
end
end
end
end
-