lib/fog/openstack/requests/identity/update_tenant.rb in fog-1.8.0 vs lib/fog/openstack/requests/identity/update_tenant.rb in fog-1.9.0

- old
+ new

@@ -5,12 +5,10 @@ def update_tenant(id, attributes) request( :expects => [200], :method => 'PUT', :path => "tenants/#{id}", - :body => { - 'tenant' => attributes - }.to_json + :body => Fog::JSON.encode({ 'tenant' => attributes }) ) end # def create_tenant end # class Real class Mock