diff --git a/lib/fog/openstack/requests/compute/add_security_group.rb b/lib/fog/openstack/requests/compute/add_security_group.rb index 0f9b4dc00..a5e91e0a0 100644 --- a/lib/fog/openstack/requests/compute/add_security_group.rb +++ b/lib/fog/openstack/requests/compute/add_security_group.rb @@ -12,7 +12,7 @@ module Fog class Mock - def update_server(server_id, group_name) + def add_security_group(server_id, group_name) response = Excon::Response.new response.status = 200 response diff --git a/lib/fog/openstack/requests/compute/remove_security_group.rb b/lib/fog/openstack/requests/compute/remove_security_group.rb index a9b7ae783..3c226f58f 100644 --- a/lib/fog/openstack/requests/compute/remove_security_group.rb +++ b/lib/fog/openstack/requests/compute/remove_security_group.rb @@ -12,7 +12,7 @@ module Fog class Mock - def update_server(server_id, group_name) + def remove_security_group(server_id, group_name) response = Excon::Response.new response.status = 200 response