tests/xenserver/models/compute/pool_tests.rb in fog-1.22.0 vs tests/xenserver/models/compute/pool_tests.rb in fog-1.22.1

- old
+ new

@@ -7,11 +7,11 @@ tests('have the action') do test('reload') { pool.respond_to? 'reload' } end tests('have attributes') do model_attribute_hash = pool.attributes - attributes = [ + attributes = [ :reference, :uuid, :name, :description, :__default_sr, @@ -27,10 +27,10 @@ test("#{attribute}") { pool.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::XenServer::Pool') { pool.kind_of? Fog::Compute::XenServer::Pool}