From: marios <[email protected]>

was broken with commit cf5a3ae7b2e27b1e28d1e9cb33629e6ae8a9a824

Signed-off-by: marios <[email protected]>
---
 server/tests/drivers/openstack/hardware_profiles_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/tests/drivers/openstack/hardware_profiles_test.rb 
b/server/tests/drivers/openstack/hardware_profiles_test.rb
index ffee21a..b35cadb 100644
--- a/server/tests/drivers/openstack/hardware_profiles_test.rb
+++ b/server/tests/drivers/openstack/hardware_profiles_test.rb
@@ -30,14 +30,14 @@ describe 'OpenStackDriver HardwareProfiles' do
     hardware_profiles.wont_be_empty
     hardware_profiles.must_be_kind_of Array
     hardware_profiles.size.must_equal 1
-    hardware_profiles.first.name.must_equal '1'
+    hardware_profiles.first.id.must_equal '1'
     @driver.hardware_profiles(:id => 'unknown').must_be_empty
   end
 
   it 'must allow to retrieve single hardware_profile' do
     hardware_profile = @driver.hardware_profile :id => '1'
     hardware_profile.wont_be_nil
-    hardware_profile.name.must_equal '1'
+    hardware_profile.id.must_equal '1'
     hardware_profile.properties.must_be_kind_of Array
     hardware_profile.properties.wont_be_empty
     @driver.hardware_profile(:id => 'unknown').must_be_nil
-- 
1.7.11.7

Reply via email to