tests/fogdocker/models/compute/server_tests.rb in fog-1.22.0 vs tests/fogdocker/models/compute/server_tests.rb in fog-1.22.1
- old
+ new
@@ -34,10 +34,10 @@
test("#{attribute}") { server.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
test('be a kind of Fog::Compute::Fogdocker::Server') { server.kind_of? Fog::Compute::Fogdocker::Server }
end