From 819e2cdfc2777286643f03c990cdc3181cce856b Mon Sep 17 00:00:00 2001 From: Adan Saenz Date: Tue, 14 Jan 2014 10:27:47 -0600 Subject: [PATCH] Fixed method names for Mock objects for add/remove_security_group --- lib/fog/openstack/requests/compute/add_security_group.rb | 2 +- lib/fog/openstack/requests/compute/remove_security_group.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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