Feature: Accessing hardware profiles Scenario: I want to get list of all hardware profiles Given URI /api/hardware_profiles exists And authentification is not required for this URI When client access this URI Then client should get root element 'hardware_profiles' And this URI should be available in XML, HTML, JSON format Scenario: I want to show hardware profile details Given URI /api/hardware_profiles exists And authentification is not required for this URI When client access this URI Then client should get root element 'hardware_profiles' When client want to show 'm1.small' hardware_profile And client should get this hardware_profile And it should have a href attribute And it should have a fixed property 'cpu' And it should have a fixed property 'memory' And it should have a fixed property 'storage' And this URI should be available in XML, HTML, JSON format Scenario: Filtering images by architecture Given URI /api/hardware_profiles exists And authentification is required for this URI When client access this URI with parameters: | architecture | i386 | Then client should get some hardware_profiles And each hardware_profile should have 'architecture' property set to 'i386'